LSF Version 7.3 - Administering Platform LSF
Queue-level Resource Requirements
280 Administering Platform LSF
To best place a job with optimized performance, resource requirements can be
specified for each application. This way, you do not have to specify resource
requirements every time you submit a job. The LSF administrator may have already
configured the resource requirements for your jobs, or you can put your executable
name together with its resource requirements into your personal remote task list.
The
bsub command automatically uses the resource requirements of the job from
the remote task lists.
A resource requirement is an expression that contains resource names and
operators.
Resource requirements in application profiles
See Chapter 21, “Working with Application Profiles” for information about how
resource requirements in application profiles are resolved with queue-level and
job-level resource requirements.
Queue-level Resource Requirements
Each queue can define resource requirements that will be applied to all the jobs in
the queue.
When resource requirements are specified for a queue, and no job-level or
application profile resource requirement is specified, the queue-level resource
requirements become the default resource requirements for the job.
Resource requirements determined by the queue no longer apply to a running job
after running
badmin reconfig, For example, if you change the RES_REQ
parameter in a queue and reconfigure the cluster, the previous queue-level resource
requirements for running jobs are lost.
Syntax
The condition for dispatching a job to a host can be specified through the
queue-level RES_REQ parameter in the queue definition in
lsb.queues.
Examples
RES_REQ=select[((type==LINUX2.4 && r1m < 2.0)||(type==AIX && r1m < 1.0))]
This allows a queue, which contains LINUX2.4 and AIX hosts, to have different
thresholds for different types of hosts.
RES_REQ=select[((hname==hostA && mem > 50)||(hname==hostB && mem > 100))]
Using the hname resource in the resource requirement string allows you to set up
different conditions for different hosts in the same queue.
Load thresholds
Load thresholds can be configured by your LSF administrator to schedule jobs in
queues. Load thresholds specify a load index value.
loadSched The scheduling threshold that determines the load condition for dispatching
pending jobs. If a host’s load is beyond any defined
loadSched, a job is not started
on the host. This threshold is also used as the condition for resuming suspended
jobs.