LSF Version 7.3 - Administering Platform LSF
Using Exclusive Scheduling
276 Administering Platform LSF
Disabling deadline constraint scheduling
Deadline constraint scheduling is enabled by default. To disable it for a queue, set
IGNORE_DEADLINE=y in
lsb.queues.
Example LSF will schedule jobs in the liberal queue without observing the deadline
constraints.
Begin Queue
QUEUE_NAME = liberal
IGNORE_DEADLINE=y
End Queue
Using Exclusive Scheduling
Exclusive scheduling gives a job exclusive use of the host that it runs on. LSF
dispatches the job to a host that has no other jobs running, and does not place any
more jobs on the host until the exclusive job is finished.
How exclusive scheduling works
When an exclusive job (bsub -x) is submitted to an exclusive queue (EXCLUSIVE
= Y in
lsb.queues) and dispatched to a host, LSF locks the host (lockU status) until
the job finishes.
LSF cannot place an exclusive job unless there is a host that has no jobs running on
it.
To make sure exclusive jobs can be placed promptly, configure some hosts to run
one job at a time. Otherwise, a job could wait indefinitely for a host in a busy cluster
to become completely idle.
Configure an exclusive queue
1 To configure an exclusive queue, set EXCLUSIVE in the queue definition
(lsb.queues) to Y.
Configure a host to run one job at a time
1 To make sure exclusive jobs can be placed promptly, configure some
single-processor hosts to run one job at a time. To do so, set SLOTS=1 and
HOSTS=all in lsb.resources.
Submit an exclusive job
1 To submit an exclusive job, use the -x option of bsub and submit the job to an
exclusive queue.