Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
68a96025
Commit
68a96025
authored
11 years ago
by
Ryan Cox
Browse files
Options
Downloads
Patches
Plain Diff
info about cgroups on Debian, et al
parent
ecbfb937
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/html/cgroups.shtml
+13
-3
13 additions, 3 deletions
doc/html/cgroups.shtml
doc/man/man5/cgroup.conf.5
+10
-0
10 additions, 0 deletions
doc/man/man5/cgroup.conf.5
with
23 additions
and
3 deletions
doc/html/cgroups.shtml
+
13
−
3
View file @
68a96025
...
@@ -28,10 +28,20 @@ the cgroup.</li>
...
@@ -28,10 +28,20 @@ the cgroup.</li>
<li>additional state objects specific to each subsystem.</li>
<li>additional state objects specific to each subsystem.</li>
</ul>
</ul>
</ul>
</ul>
<p><b>NOTE:</b> There can be a serious performance problem with memory cgroups
<h2>General Usage Notes</h2>
<ul>
<li>There can be a serious performance problem with memory cgroups
on conventional multi-socket, multi-core nodes in kernels prior to 2.6.38 due
on conventional multi-socket, multi-core nodes in kernels prior to 2.6.38 due
to contention between processors for a spinlock. This problem seems to have
to contention between processors for a spinlock. This problem seems to have
been completely fixed in the 2.6.38 kernel.</p>
been completely fixed in the 2.6.38 kernel.</li>
<li>Debian and derivatives (e.g. Ubuntu) usually exclude the memory and memsw
(swap) cgroups by default. To include them, add the following parameters to
the kernel command line: <pre>cgroup_enable=memory swapaccount=1</pre>
This can usually be placed in /etc/default/grub inside the
<i>GRUB_CMDLINE_LINUX</i> variable. A command such as <i>update-grub</i> must
be run after updating the file.
</ul>
<h2>Use of Cgroups in SLURM</h2>
<h2>Use of Cgroups in SLURM</h2>
<p>SLURM provides cgroup versions of a number of plugins.</p>
<p>SLURM provides cgroup versions of a number of plugins.</p>
...
@@ -174,6 +184,6 @@ the following example.</li>
...
@@ -174,6 +184,6 @@ the following example.</li>
</ul>
</ul>
<p class="footer"><a href="#top">top</a></p>
<p class="footer"><a href="#top">top</a></p>
<p style="text-align:center;">Last modified
26 Octo
ber 201
2
</p>
<p style="text-align:center;">Last modified
8 Novem
ber 201
3
</p>
<!--#include virtual="footer.txt"-->
<!--#include virtual="footer.txt"-->
This diff is collapsed.
Click to expand it.
doc/man/man5/cgroup.conf.5
+
10
−
0
View file @
68a96025
...
@@ -143,6 +143,16 @@ permission to use. The default value is "/etc/slurm/cgroup_allowed_devices_file.
...
@@ -143,6 +143,16 @@ permission to use. The default value is "/etc/slurm/cgroup_allowed_devices_file.
the file accepts one device per line and it permits lines like /dev/sda* or /dev/cpu/*/*.
the file accepts one device per line and it permits lines like /dev/sda* or /dev/cpu/*/*.
See also an example of this file in etc/allowed_devices_file.conf.example.
See also an example of this file in etc/allowed_devices_file.conf.example.
.SH "DISTRIBUTION-SPECIFIC NOTES"
.LP
Debian and derivatives (e.g. Ubuntu) usually exclude the memory and memsw (swap)
cgroups by default. To include them, add the following parameters to the kernel
command line: \fBcgroup_enable=memory swapaccount=1\fR
.LP
This can usually be placed in /etc/default/grub inside the
\fBGRUB_CMDLINE_LINUX\fR variable. A command such as update-grub must be run
after updating the file.
.SH "EXAMPLE"
.SH "EXAMPLE"
.LP
.LP
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment