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.

Optimized Preemption of Parallel Jobs<br />

Optimized Preemption of Parallel Jobs<br />

You can configure preemption for parallel jobs to reduce the number of jobs<br />

suspended in order to run a large parallel job.<br />

When a high-priority parallel job preempts multiple low-priority parallel jobs,<br />

sometimes <strong>LSF</strong> preempts more low-priority jobs than are necessary to release<br />

sufficient job slots to start the high-priority job.<br />

The PREEMPT_FOR parameter in lsb.params with the MINI_JOB keyword<br />

enables the optimized preemption of parallel jobs, so <strong>LSF</strong> preempts fewer of<br />

the low-priority parallel jobs.<br />

Enabling the feature only improves the efficiency in cases where both<br />

preemptive and preempted jobs are parallel jobs.<br />

How optimized preemption works<br />

When you run many parallel jobs in your cluster, and parallel jobs preempt<br />

other parallel jobs, you can enable a feature to optimize the preemption<br />

mechanism among parallel jobs.<br />

By default, <strong>LSF</strong> can over-preempt parallel jobs. When a high-priority parallel<br />

job preempts multiple low-priority parallel jobs, sometimes <strong>LSF</strong> preempts more<br />

low-priority jobs than are necessary to release sufficient job slots to start the<br />

high-priority job. The optimized preemption mechanism reduces the number<br />

of jobs that are preempted.<br />

Enabling the feature only improves the efficiency in cases where both<br />

preemptive and preempted jobs are parallel jobs. Enabling or disabling this<br />

feature has no effect on the scheduling of jobs that require only a single<br />

processor.<br />

Configuring optimized preemption<br />

Use the PREEMPT_FOR parameter in lsb.params and specify the keyword<br />

MINI_JOB to configure optimized preemption at the cluster level.<br />

If the parameter is already set, the MINI_JOB keyword can be used along with<br />

other keywords; the other keywords do not enable or disable the optimized<br />

preemption mechanism.<br />

460<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!