Platform LSF Administration Guide Version 6.2

Chapter 18
Resource Allocation Limits
Administering Platform LSF
333
Configuring Resource Allocation Limits
Contents
lsb.resources file” on page 333
Enabling resource allocation limits” on page 334
Configuring cluster-wide limits” on page 334
Compatibility with pre-version 6.2 job slot limits” on page 334
How resource allocation limits map to pre-version 6.2 job slot limits” on page 334
Example limit configurations” on page 336
lsb.resources file
Configure all resource allocation limits in one or more Limit sections in the
lsb.resources file. Limit sections set limits for how much of the specified resources
must be available for different classes of jobs to start, and which resource consumers the
limits apply to.
Resource
parameters
Consumer
parameters
To limit ... Set in a Limit section of lsb.resources ...
Total number of job slots that can be used by
specific jobs
SLOTS
Jobs slots based on the number of processors
on each host affected by the limit
SLOTS_PER_PROCESSOR and
PER_HOST
Memoryif PER_HOST is set for the limit,
the amount can be a percentage of memory on
each host in the limit
MEM (MB or percentage)
Swap spaceif PER_HOST is set for the
limit, the amount can be a percentage of swap
space on each host in the limit
SWP (MB or percentage)
Tmp spaceif PER_HOST is set for the limit,
the amount can be a percentage of tmp space
on each host in the limit
TMP (MB or percentage)
Software licenses LICENSE or RESOURCE
Any shared resource RESOURCE
For jobs submitted ... Set in a Limit section of lsb.resources ...
By all specified users or user groups USERS
To all specified queues QUEUES
To all specified hosts or host groups HOSTS
For all specified projects PROJECTS
By each specified user or each member of the
specified user groups
PER_USER
To each specified queue PER_QUEUE
To each specified host or each member of the
specified host groups
PER_HOST
For each specified project PER_PROJECT