Platform LSF Reference Version 6.2

Limit Section
Platform LSF Reference
442
The RESOURCE keyword is a synonym for the LICENSE keyword. You can use
RESOURCE to configure software licenses. You cannot specify RESOURCE and
LICENSE in the same Limit section.
In horizontal format, use only one RESOURCE line per Limit section.
In vertical tabular format, resource names must be enclosed in parentheses.
In vertical tabular format, use empty parentheses
() or a dash (-) to indicate all queues.
Fields cannot be left blank.
Default
None
Examples
RESOURCE=[stat_shared,4]
Begin Limit
RESOURCE PER_HOST
([stat_shared,4]) (all ~hostA)
([dyn_rsrc,1] [stat_rsrc,2]) (hostA)
End Limit
SLOTS
Syntax
SLOTS=
integer
SLOTS
-
| integer
Description
Maximum number of job slots available to resource consumers. Specify a positive
integer greater than or equal 0.
With MultiCluster resource lease model, this limit applies only to local hosts being used
by the local cluster. The job slot limit for hosts exported to a remote cluster is
determined by the host export policy, not by this parameter. The job slot limit for
borrowed hosts is determined by the host export policy of the remote cluster.
If HOSTS are configured in the Limit section, SLOTS is the number of running and
suspended jobs on a host. If preemptive scheduling is used, the suspended jobs are not
counted as using a job slot.
To fully use the CPU resource on multiprocessor hosts, make the number of job slots
equal to or greater than the number of processors.
Use this parameter to prevent a host from being overloaded with too many jobs, and to
maximize the throughput of a machine.
If only QUEUES are configured in the Limit section, SLOTS is the maximum number
of job slots available to the listed queues for any hosts, users, or projects.
If only USERS are configured in the Limit section, SLOTS is the maximum number of
job slots that the users or user groups can use on any hosts, queues, or projects.
If only HOSTS are configured in the Limit section, SLOTS is the maximum number of
job slots that are available to the listed hosts for any users, queues, or projects.
If only PROJECTS are configured in the Limit section, SLOTS is the maximum number
of job slots that are available to the listed projects for any users, queues, or hosts.
Use QUEUES or PER_QUEUE, USERS or PER_USER, HOSTS or PER_HOST, and
PROJECTS or PER_PROJECT in combination to further limit job slots per processor
available to resource consumers.