25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory Reservation for Pending Jobs<br />

Examples<br />

lsb.queues<br />

The following queues are defined in lsb.queues:<br />

Begin Queue<br />

QUEUE_NAME = reservation<br />

DESCRIPTION = For resource reservation<br />

PRIORITY=40<br />

RESOURCE_RESERVE = MAX_RESERVE_TIME[20]<br />

End Queue<br />

Assumptions<br />

Sequential jobs<br />

Assume one host in the cluster with 10 CPUs and 1 GB of free memory<br />

currently available.<br />

Each of the following sequential jobs requires 400 MB of memory and will run<br />

for 300 minutes.<br />

◆ Job 1:<br />

% bsub -W 300 -R "rusage[mem=400]" -q reservation myjob1<br />

The job will start running, using 400M of memory and one job slot.<br />

◆ Job 2:<br />

Submitting a second job with same requirements will get the same result.<br />

◆ Job 3:<br />

Submitting a third job with same requirements will reserve one job slot,<br />

and reserve all free memory, if the amount of free memory is between 20<br />

MB and 200 MB (some free memory may be used by the operating system<br />

or other software.)<br />

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