25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Deadline Constraint Scheduling<br />

Deadline Constraint Scheduling<br />

Deadline constraints<br />

Deadline constraints will suspend or terminate running jobs at a certain time.<br />

There are 2 kinds of deadline constraints:<br />

◆ A run window, specified at the queue level, suspends a running job<br />

◆ A termination time, specified at the job level (bsub -t), terminates a<br />

running job<br />

Time-based resource usage limits<br />

◆<br />

◆<br />

A CPU limit, specified at job or queue level, terminates a running job when<br />

it has used up a certain amount of CPU time.<br />

A run limit, specified at the job or queue level, terminates a running job<br />

after it has spent a certain amount of time in the RUN state.<br />

How deadline constraint scheduling works<br />

If deadline constraint scheduling is enabled, <strong>LSF</strong> will not place a job that will<br />

be interrupted by a deadline constraint before its run limit expires, or before<br />

its CPU limit expires, if the job has no run limit. In this case, deadline constraint<br />

scheduling could prevent a job from ever starting. If a job has neither a run<br />

limit nor a CPU limit, deadline constraint scheduling has no effect.<br />

Deadline constraint scheduling only affects the placement of jobs. Once a job<br />

starts, if it is still running at the time of the deadline, it will be suspended or<br />

terminated because of the deadline constraint or resource usage limit.<br />

Disabling deadline constraint scheduling<br />

Example<br />

Deadline constraint scheduling is enabled by default. To disable it for a queue,<br />

set IGNORE_DEADLINE=y in lsb.queues.<br />

<strong>LSF</strong> will schedule jobs in the liberal queue without observing the deadline<br />

constraints.<br />

Begin Queue<br />

QUEUE_NAME = liberal<br />

IGNORE_DEADLINE=y<br />

End Queue<br />

174<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!