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 />

Stack segment size limit<br />

Virtual memory (swap) limit<br />

Job syntax (bsub) Queue syntax (lsb.queues) Fomat/Units<br />

-S stack_limit STACKLIMIT=limit integer KB<br />

Sets a per-process (soft) stack segment size limit in KB for each process that<br />

belongs to this batch job. An sbrk() call to extend the stack segment beyond<br />

the stack limit causes the process to be terminated. The default is no soft limit.<br />

Examples<br />

Job syntax (bsub) Queue syntax (lsb.queues) Fomat/Units<br />

-v swap_limit SWAPLIMIT=limit integer KB<br />

Sets the total process virtual memory limit to swap_limit in KB for the whole<br />

job. The default is no limit. Exceeding the limit causes the job to terminate.<br />

This limit applies to the whole job, no matter how many processes the job may<br />

contain.<br />

Queue-level limits ◆ CPULIMIT = 20/hostA 15<br />

The first number is the default CPU limit. The second number is the<br />

maximum CPU limit.<br />

However, the default CPU limit is ignored because it is a higher value than<br />

the maximum CPU limit.<br />

◆ CPULIMIT = 10/hostA<br />

In this example, the lack of a second number specifies that there is no<br />

default CPU limit. The specified number is considered as the default and<br />

maximum CPU limit.<br />

◆ RUNLIMIT = 10/hostA 15<br />

The first number is the default run limit. The second number is the<br />

maximum run limit.<br />

The first number specifies that the default run limit is to be used for jobs<br />

that are submitted without a specified run limit (without the -W option of<br />

bsub).<br />

◆ RUNLIMIT = 10/hostA<br />

No default run limit is specified. The specified number is considered as the<br />

default and maximum run limit.<br />

◆ THREADLIMIT=6<br />

No default thread limit is specified. The value 6 is the default and maximum<br />

thread limit.<br />

◆ THREADLIMIT=6 8<br />

The first value (6) is the default thread limit. The second value (8) is the<br />

maximum thread limit.<br />

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

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

Saved successfully!

Ooh no, something went wrong!