LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 389
Resource Allocation Limits
604 user1 RUN normal hostA sleep 100 Aug 12 14:09
Resource allocation
limits and resource
usage limits
Resource allocation limits are not the same as resource usage limits, which are
enforced during job run time. For example, you set CPU limits, memory limits, and
other limits that take effect after a job starts running. See Chapter 34, “Runtime
Resource Usage Limits for more information.
How LSF enforces limits
Resource allocation limits are enforced so that they apply to:
Several kinds of resources:
Job slots by host
Job slots per processor
Running and suspended jobs
Memory (MB or percentage)
Swap space (MB or percentage)
Tmp space (MB or percentage)
Software licenses
Other shared resources
Several kinds of resource consumers:
Users and user groups (all users or per-user)
Hosts and host groups (all hosts or per-host)
Queues (all queues or per-queue)
Projects (all projects or per-project)
All jobs in the cluster
Combinations of consumers:
For jobs running on different hosts in the same queue
For jobs running from different queues on the same host
How LSF counts resources
Resources on a host are not available if they are taken by jobs that have been started,
but have not yet finished. This means running and suspended jobs count against the
limits for queues, users, hosts, projects, and processors that they are associated with.
Job slot limits Job slot limits can correspond to the maximum number of jobs that can run at any
point in time. For example, a queue cannot start jobs if it has no job slots available,
and jobs cannot run on hosts that have no available job slots.
Limits such as such as QJOB_LIMIT (
lsb.queues), HJOB_LIMIT (lsb.queues),
UJOB_LIMIT (
lsb.queues), MXJ (lsb.hosts), JL/U (lsb.hosts), MAX_JOBS
(
lsb.users), and MAX_PEND_JOBS (lsb.users) limit the number of job slots.
When the workload is sequential, job slots are usually equivalent to jobs. For
parallel or distributed applications, these are true job slot limits and not job limits.