Platform LSF Administration Guide Version 6.2

Chapter 15
Specifying Resource Requirements
Administering Platform LSF
269
Usage String
This string defines the expected resource usage of the job. It is used to specify resource
reservations for jobs, or for mapping jobs on to hosts and adjusting the load when
running interactive jobs.
By default, no resources are reserved.
Batch jobs
The resource usage (rusage) section can be specified at the job level or with the queue
configuration parameter RES_REQ.
Syntax
rusage
[
usage_string
[
,
usage_string
][
||
usage_string
]
...]
where usage_string is:
load_index=value
[
:load_index=value
]... [
:duration=minutes
[
m
]
|
:duration=hoursh
|
:duration=secondss
[
:decay=0
|
:decay=1
]]
Load index
Internal and external load indices are considered in the resource usage string. The
resource value represents the initial reserved amount of the resource.
Duration
The duration is the time period within which the specified resources should be reserved.
Specify a duration equal to or greater than the ELIM updating interval.
If the value is followed by the letter s, m, or h, the specified time is measured in
seconds, minutes, or hours respectively.
By default, duration is specified in minutes.
For example, the following specify a duration of 1 hour:
duration=60
duration=1h
duration=3600s
Duration is not supported for static shared resources. If the shared resource is
defined in an lsb.resources Limit section, then duration is not applied.
Decay
The decay value indicates how the reserved amount should decrease over the duration.
A value of 1 indicates that system should linearly decrease the amount reserved over
the duration.
A value of 0 causes the total amount to be reserved for the entire duration.
Values other than 0 or 1 are unsupported. If duration is not specified, decay value is
ignored.
Decay is not supported for static shared resources. If the shared resource is defined
in an lsb.resources Limit section, then decay is not applied.
Default
If a resource or its value is not specified, the default is not to reserve that resource. If
duration is not specified, the default is to reserve the total amount for the lifetime of the
job. The default decay value is 0.
Example
rusage[mem=50:duration=100:decay=1]