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.

Usage String<br />

Example<br />

rusage[mem=50:duration=100:decay=1]<br />

This example indicates that 50 MB memory should be reserved for the job. As<br />

the job runs, the amount reserved will decrease at approximately 0.5 MB per<br />

minute until the 100 minutes is up.<br />

How queue-level and job-level rusage sections are resolved<br />

Job-level rusage overrides the queue-level specification:<br />

◆ For internal load indices (r15s, r1m, r15m, ut, pg, io, ls, it, tmp, swp,<br />

and mem), the job-level value cannot be larger than the queue-level value.<br />

◆ For external load indices (e.g., licenses), the job-level rusage can be larger<br />

than the queue-level requirements.<br />

◆ For duration, the job-level value of internal and external load indices<br />

cannot be larger than the queue-level value.<br />

How queue-level and job-level rusage sections are merged<br />

When both job-level and queue-level rusage sections are defined, the rusage<br />

section defined for the job overrides the rusage section defined in the queue.<br />

The two rusage definitions are merged, with the job-level rusage taking<br />

precedence. For example:<br />

◆ Given a RES_REQ definition in a queue:<br />

RES_REQ = rusage[mem=200:lic=1] ...<br />

and job submission:<br />

bsub -R'rusage[mem=100]' ...<br />

The resulting requirement for the job is<br />

rusage[mem=100:lic=1]<br />

where mem=100 specified by the job overrides mem=200 specified by the<br />

queue. However, lic=1 from queue is kept, since job does not specify it.<br />

◆ For the following queue-level RES_REQ (decay and duration defined):<br />

RES_REQ = rusage[mem=200:duration=20:decay=1] ...<br />

and job submission (no decay or duration):<br />

bsub -R'rusage[mem=100]' ...<br />

The resulting requirement for the job is:<br />

rusage[mem=100:duration=20:decay=1]<br />

Queue-level duration and decay are merged with the job-level<br />

specification, and mem=100 for the job overrides mem=200 specified by the<br />

queue. However, duration=20 and decay=1 from queue are kept, since<br />

job does not specify them.<br />

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