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.

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 percentage)

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 percentage)

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 percentage)

Software licenses

LICENSE or RESOURCE

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