Configure resource allocation limits

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. You can also specify the duration for which the resource will be reserved. When the duration expires, the resource is released, but the limitation is still enforced. This behavior applies for all type of resources, including built-in resources, static, and dynamic shared resources, LS tokens, etc. The resource requirements that are defined for queue level or job level are the same in this case.

The Limit section of lsb.resources does not support the keywords or format used in lsb.users, lsb.hosts, and lsb.queues. However, any existing job slot limit configuration in these files continues to apply.

Resource parameters

To limit ...

Set in a Limit section of lsb.resources ...

Total number of running and suspended (RUN, SSUSP, USUSP) jobs

JOBS

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

Memory - if PER_HOST is set for the limit, the amount can be a percentage of memory on each host in the limit

MEM (MB or units set in LSF_UNIT_FOR_LIMITS in lsf.conf)

Swap space - if 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 units set in LSF_UNIT_FOR_LIMITS in lsf.conf)

Tmp space - if 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 units set in LSF_UNIT_FOR_LIMITS in lsf.conf)

Any shared resource

RESOURCE

Consumer parameters

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, host groups, or compute units

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 specified host groups or compute units

PER_HOST

For each specified project

PER_PROJECT