Platform LSF Administration Guide Version 6.2

Configuring Resource Allocation Limits
Administering Platform LSF
334
Enabling resource allocation limits
Resource allocation limits scheduling plugin
To enable resource allocation limits in your cluster, configure the resource allocation
limits scheduling plugin
schmod_limit in lsb.modules.
Configuring lsb.modules
Begin PluginModule
SCH_PLUGIN RB_PLUGIN
SCH_DISABLE_PHASES
schmod_default () ()
schmod_limit () ()
End PluginModule
Configuring cluster-wide limits
To configure limits that take effect for your entire cluster, configure limits in
lsb.resources, but do not specify any consumers.
Compatibility with pre-version 6.2 job slot limits
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 will continue to apply.
How resource allocation limits map to pre-version 6.2 job slot limits
Job slot limits are the only type of limit you can configure in lsb.users, lsb.hosts,
and
lsb.queues. You cannot configure limits for user groups, host groups, and
projects in
lsb.users, lsb.hosts, and lsb.queues. You should not configure any
new resource allocation limits in
lsb.users, lsb.hosts, and lsb.queues. Use
lsb.resources to configure all new resource allocation limits, including job slot
limits.
Limits for the following resources have no corresponding limit in
lsb.users,
lsb.hosts, and lsb.queues:
SWP
Job slot resources Resource consumers (lsb.resources) Equivalent
existing limit
(file)
(lsb.resources) USERS PER_USER QUEUES HOSTS PER_HOST
SLOTS
all
host_name JL/U (lsb.hosts)
SLOTS_PER_PROCESSOR user_name ——
all
JL/P (lsb.users)
SLOTS
all
queue_name UJOB_LIMIT
(lsb.queues)
SLOTS
all
——MAX_JOBS
(lsb.users)
SLOTS queue_name
all
HJOB_LIMIT
(lsb.queues)
SLOTS host_name —MXJ (lsb.hosts)
SLOTS_PER_PROCESSOR queue_name
all
PJOB_LIMIT
(lsb.queues)
SLOTS queue_name QJOB_LIMIT
(lsb.queues)