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

Batch jobs<br />

Chapter 13<br />

Specifying Resource Requirements<br />

This string defines the expected resource usage of the job. It is used to specify<br />

resource reservations for jobs, or for mapping jobs on to hosts and adjusting<br />

the load when running interactive jobs.<br />

By default, no resources are reserved.<br />

The resource usage (rusage) section can be specified at the job level or with<br />

the queue configuration parameter RES_REQ.<br />

Syntax rusage[usage_string [, usage_string] ...]<br />

where usage_string is:<br />

load_index=value [:load_index=value]... [:duration=minutes[m] |<br />

:duration=hoursh | :duration=secondss [:decay=0 | :decay=1]]<br />

Load index<br />

Duration<br />

Internal and external load indices are considered in the resource usage string.<br />

The resource value represents the initial reserved amount of the resource.<br />

The duration is the time period within which the specified resources should be<br />

reserved. Specify a duration equal to or greater than the ELIM updating<br />

interval.<br />

◆ If the value is followed by the letter s, m, or h, the specified time is<br />

measured in seconds, minutes, or hours respectively.<br />

◆ By default, duration is specified in minutes.<br />

For example, the following specify a duration of 1 hour:<br />

❖ duration=60<br />

❖ duration=1h<br />

❖ duration=3600s<br />

Duration is not supported for static shared resources. If the shared resource is defined<br />

in an lsb.resources Limit section, then duration is not applied.<br />

Decay<br />

The decay value indicates how the reserved amount should decrease over the<br />

duration.<br />

◆ A value of 1 indicates that system should linearly decrease the amount<br />

reserved over the duration.<br />

◆ A value of 0 causes the total amount to be reserved for the entire duration.<br />

Values other than 0 or 1 are unsupported. If duration is not specified, decay<br />

value is ignored.<br />

Decay is not supported for static shared resources. If the shared resource is defined<br />

in an lsb.resources Limit section, then decay is not applied.<br />

Default<br />

If a resource or its value is not specified, the default is not to reserve that<br />

resource. If duration is not specified, the default is to reserve the total amount<br />

for the lifetime of the job. The default decay value is 0.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 195

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

Saved successfully!

Ooh no, something went wrong!