Skip to content
Snippets Groups Projects
Commit c0d6edc9 authored by Morris Jette's avatar Morris Jette
Browse files

Explain job option of --mem=0 means all memory

This is a special case. This change documents the way Slurm has
always worked.
parent beecc7b0
No related branches found
No related tags found
No related merge requests found
...@@ -568,6 +568,8 @@ This parameter would generally be used if whole nodes ...@@ -568,6 +568,8 @@ This parameter would generally be used if whole nodes
are allocated to jobs (\fBSelectType=select/linear\fR). are allocated to jobs (\fBSelectType=select/linear\fR).
Also see \fB\-\-mem\-per\-cpu\fR. Also see \fB\-\-mem\-per\-cpu\fR.
\fB\-\-mem\fR and \fB\-\-mem\-per\-cpu\fR are mutually exclusive. \fB\-\-mem\fR and \fB\-\-mem\-per\-cpu\fR are mutually exclusive.
NOTE: A memory size specification is treated as a special case and grants
the job access to all of the memory on each node.
NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin
or enabling of accounting, which samples memory use on a periodic basis (data or enabling of accounting, which samples memory use on a periodic basis (data
need not be stored, just collected). In both cases memory use is based upon need not be stored, just collected). In both cases memory use is based upon
......
...@@ -660,6 +660,8 @@ This parameter would generally be used if whole nodes ...@@ -660,6 +660,8 @@ This parameter would generally be used if whole nodes
are allocated to jobs (\fBSelectType=select/linear\fR). are allocated to jobs (\fBSelectType=select/linear\fR).
Also see \fB\-\-mem\-per\-cpu\fR. Also see \fB\-\-mem\-per\-cpu\fR.
\fB\-\-mem\fR and \fB\-\-mem\-per\-cpu\fR are mutually exclusive. \fB\-\-mem\fR and \fB\-\-mem\-per\-cpu\fR are mutually exclusive.
NOTE: A memory size specification is treated as a special case and grants
the job access to all of the memory on each node.
NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin
or enabling of accounting, which samples memory use on a periodic basis (data or enabling of accounting, which samples memory use on a periodic basis (data
need not be stored, just collected). In both cases memory use is based upon need not be stored, just collected). In both cases memory use is based upon
......
...@@ -865,6 +865,8 @@ to the amount of memory allocated to the job, but not remove any of the job's ...@@ -865,6 +865,8 @@ to the amount of memory allocated to the job, but not remove any of the job's
memory allocation from being available to other job steps. memory allocation from being available to other job steps.
Also see \fB\-\-mem\-per\-cpu\fR. Also see \fB\-\-mem\-per\-cpu\fR.
\fB\-\-mem\fR and \fB\-\-mem\-per\-cpu\fR are mutually exclusive. \fB\-\-mem\fR and \fB\-\-mem\-per\-cpu\fR are mutually exclusive.
NOTE: A memory size specification is treated as a special case and grants
the job access to all of the memory on each node.
NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin
or enabling of accounting, which samples memory use on a periodic basis (data or enabling of accounting, which samples memory use on a periodic basis (data
need not be stored, just collected). In both cases memory use is based upon need not be stored, just collected). In both cases memory use is based upon
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment