Platform LSF Administration Guide Version 6.2
Chapter 15
Specifying Resource Requirements
Administering Platform LSF
261
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 resource
requirement is specified, the queue-level resource requirements become the default
resource requirements for the job.
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 will allow 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. There are two types of load
thresholds:
loadSched
The scheduling threshold which determines the load condition for dispatching pending
jobs. If a host’s load is beyond any defined
loadSched, a job will not be started on the
host. This threshold is also used as the condition for resuming suspended jobs.
loadStop
The suspending condition that determines when running jobs should be suspended.
Thresholds can be configured for each queue, for each host, or a combination of both.
To schedule a job on a host, the load levels on that host must satisfy both the thresholds
configured for that host and the thresholds for the queue from which the job is being
dispatched.
The value of a load index may either increase or decrease with load, depending on the
meaning of the specific load index. Therefore, when comparing the host load conditions
with the threshold values, you need to use either greater than (>) or less than (<),
depending on the load index.
See Chapter 30, “Load Thresholds” for information about suspending conditions and
configuring load thresholds.
Viewing queue-level resource requirements
Use bqueues -l to view resource requirements (RES_REQ) defined for the queue:
%
bqueues -l normal
QUEUE: normal
-- No description provided. This is the default queue.
...
RES_REQ: select[type==any] rusage[mem=10,dynamic_rsrc=10:duration=2:decay=1]
...