Platform LSF Administration Guide Version 6.2
About Resource Usage Limits
Administering Platform LSF
462
About Resource Usage Limits
Resource usage limits control how much resource can be consumed by running jobs.
Jobs that use more than the specified amount of a resource are signalled or have their
priority lowered.
Limits can be specified either at the queue level by your LSF administrator
(
lsb.queues) or at the job level when you submit a job.
For example, by defining a high-priority short queue, you can allow short jobs to be
scheduled earlier than long jobs. To prevent some users from submitting long jobs to
this short queue, you can set CPU limit for the queue so that no jobs submitted from
the queue can run for longer than that limit.
Limits specified at the queue level are hard limits, while those specified with job
submission are soft limits. See
setrlimit(2) man page for concepts of hard and soft
limits.
Resource usage limits and resource allocation limits
Resource usage limits are not the same as resource allocation limits, which are enforced
during job scheduling and before jobs are dispatched. You set resource allocation limits
to restrict the amount of a given resource that must be available during job scheduling
for different classes of jobs to start, and which resource consumers the limits apply to.
See Chapter 18, “Resource Allocation Limits” for more information.
Summary of resource usage limits
Limit Job syntax (bsub) Queue syntax (lsb.queues) Fomat/Units
Core file size limit -C core_limit
CORELIMIT=
limit
integer KB
CPU time limit -c cpu_limit
CPULIMIT=[
default
]
maximum
[hours:]minutes[/host_name |
/host_model]
Data segment size limit -D data_limit
DATALIMIT=[
default
]
maximum
integer KB
File size limit -F file_limit
FILELIMIT=
limit
integer KB
Memory limit -M mem_limit
MEMLIMIT=[
default
]
maximum
integer KB
Process limit -p process_limit
PROCESSLIMIT=[
default
]
maximum
integer KB
Run time limit -W run_limit
RUNLIMIT=[default]
maximum
[hours:]minutes[/host_name |
/host_model]
Stack segment size
limit
-S stack_limit
STACKLIMIT=
limit
integer KB
Virtual memory limit -v swap_limit
SWAPLIMIT=
limit
integer KB
Thread limit -T thread_limit
THREADLIMIT=[
default
]
maximum
integer