LSF Version 7.3 - Using Platform LSF HPC
CPU_LIST is interpreted as a list of possible CPU seelctions, not a strict requirement.
For example, if you subit a job with the the
-R "span[ptile]" option:
bsub -R "span[ptile=1]" -ext "CPUSET[CPU_LIST=1,3]" -n2 ...
the following combination of CPUs is possible:
Cpuset attributes
The following cpuset attributes are supported in the list of cpuset options specified by
CPUSET_OPTIONS:
◆
CPUSET_CPU_EXCLUSIVE—defines a restricted cpuset
◆
CPUSET_MEMORY_LOCAL—threads assigned to the cpuset attempt to assign
memory only from nodes within the cpuset. Overrides the MEM_LIST cpuset
option.
◆
CPUSET_MEMORY_EXCLUSIVE—threads not assigned to the cpuset do not
use memory from within the cpuset unless no memory outside the cpuset is
available
◆
CPUSET_MEMORY_KERNEL_AVOID—kernel attempts to avoid allocating
memory from nodes contained in this cpuset
◆
CPUSET_MEMORY_MANDATORY—kernel limits all memory allocations to
nodes contained in this cpuset
◆
CPUSET_POLICY_PAGE—Causes the kernel to page user pages to the swap file
to free physical memory on the nodes contained in this cpuset. This is the default
policy if no other policy is specified. Requires
CPUSET_MEMORY_MANDATORY.
◆
CPUSET_POLICY_KILL—The kernel attempts to free as much space as possible
from kernel heaps, but will not page user pages to the swap file. Requires
CPUSET_MEMORY_MANDATORY.
See the SGI resource administration documentation and the man pages for the
cpuset
command for information about these cpuset attributes.
◆
SGI Altix Linux ProPack versions 4 and lower do not support memory
migration; you must define RESUME_OPTION=ORIG_CPUS to force LSF to
recreate the original cpuset when LSF resumes a job.
◆
SGI Altix Linux ProPack 5 supports memory migration and does not require
additional configuration to enable this feature. If you submit and then suspend a job
using a dynamic cpuset, LSF will create a new dynamic cpuset when the job resumes.
The memory pages for the job are migrated to the new cpuset as required.
◆
SGI Altix Linux ProPack 3 only supports
CPUSET_OPTIONS=CPUSET_MEMORY_LOCAL. If the cpuset job runs on
an Altix host, other cpuset attributes are ignored.
11
13
31
33