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.

About Resource Usage Limits<br />

About Resource Usage Limits<br />

Resource usage limits control how much resource can be consumed by<br />

running jobs. Jobs that use more than the specified amount of a resource are<br />

signalled or have their priority lowered.<br />

Limits can be specified either at the queue level by your <strong>LSF</strong> administrator<br />

(lsb.queues) or at the job level when you submit a job.<br />

For example, by defining a high-priority short queue, you can allow short jobs<br />

to be scheduled earlier than long jobs. To prevent some users from submitting<br />

long jobs to this short queue, you can set CPU limit for the queue so that no<br />

jobs submitted from the queue can run for longer than that limit.<br />

Limits specified at the queue level are hard limits, while those specified with<br />

job submission are soft limits. See setrlimit(2) man page for concepts of<br />

hard and soft limits.<br />

Resource usage limits and resource allocation limits<br />

Resource usage limits are not the same as resource allocation limits, which<br />

are enforced during job scheduling and before jobs are dispatched. You set<br />

resource allocation limits to restrict the amount of a given resource that must<br />

be available during job scheduling for different classes of jobs to start, and<br />

which resource consumers the limits apply to.<br />

See Chapter 16, “Resource Allocation Limits” for more information.<br />

Summary of resource usage limits<br />

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

Core file size limit -C core_limit CORELIMIT=limit integer KB<br />

CPU time limit -c cpu_limit CPULIMIT=[default]<br />

maximum<br />

[hours:]minutes[/host_name<br />

| /host_model]<br />

Data segment size -D data_limit DATALIMIT=[default] integer KB<br />

limit<br />

maximum<br />

File size limit -F file_limit FILELIMIT=limit integer KB<br />

Memory limit -M mem_limit MEMLIMIT=[default] integer KB<br />

maximum<br />

Process limit -p process_limit PROCESSLIMIT=[defaul integer KB<br />

t] maximum<br />

Run time limit -W run_limit RUNLIMIT=[default]<br />

maximum<br />

[hours:]minutes[/host_name<br />

| /host_model]<br />

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

limit<br />

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

Thread limit -T thread_limit THREADLIMIT=[default<br />

] maximum<br />

integer<br />

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