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.

Chapter 26<br />

Runtime Resource Usage Limits<br />

Host specification<br />

with two limits<br />

You can specify both default and maximum values for the following resource<br />

usage limits in lsb.queues:<br />

◆ CPULIMIT<br />

◆ DATALIMIT<br />

◆ MEMLIMIT<br />

◆ PROCESSLIMIT<br />

◆ RUNLIMIT<br />

◆ THREADLIMIT<br />

If default and maximum limits are specified for CPU time limits or run time<br />

limits, only one host specification is permitted. For example, the following CPU<br />

limits are correct (and have an identical effect):<br />

◆ CPULIMIT = 400/hostA 600<br />

◆ CPULIMIT = 400 600/hostA<br />

The following CPU limit is incorrect:<br />

CPULIMIT = 400/hostA 600/hostB<br />

The following run limits are correct (and have an identical effect):<br />

◆ RUNLIMIT = 10/hostA 15<br />

◆ RUNLIMIT = 10 15/hostA<br />

The following run limit is incorrect:<br />

RUNLIMIT = 10/hostA 15/hostB<br />

Default run limits for backfill scheduling<br />

Default run limits are used for backfill scheduling of parallel jobs.<br />

For example, in lsb.queues, you enter: RUNLIMIT = 10 15<br />

◆ The first number is the default run limit applied to all jobs in the queue that<br />

are submitted without a job-specific run limit (without bsub -W).<br />

◆ The second number is the maximum run limit applied to all jobs in the<br />

queue that are submitted with a job-specific run limit (with<br />

bsub -W). The default run limit cannot exceed the maximum run limit.<br />

Automatically assigning a default run limit to all jobs in the queue means that<br />

backfill scheduling works efficiently.<br />

For example, in lsb.queues, you enter:<br />

RUNLIMIT = 10 15<br />

The first number is the default run limit applied to all jobs in the queue that<br />

are submitted without a job-specific run limit. The second number is the<br />

maximum run limit.<br />

If you submit a job to the queue without the -W option, the default run limit is<br />

used:<br />

% bsub myjob<br />

The job myjob cannot run for more than 10 minutes as specified with the<br />

default run limit.<br />

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

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

Saved successfully!

Ooh no, something went wrong!