Platform LSF Reference Version 6.2

lsb.queues Structure
Platform LSF Reference
422
RESOURCE_RESERVE
Syntax RESOURCE_RESERVE=MAX_RESERVE_TIME[integer]
Description
Enables processor reservation and memory reservation for pending jobs for the queue.
Specifies the number of dispatch turns (MAX_RESERVE_TIME) over which a job can
reserve job slots and memory.
Overrides the SLOT_RESERVE parameter. If both RESOURCE_RESERVE and
SLOT_RESERVE are defined in the same queue, an error is displayed when the cluster
is reconfigured, and SLOT_RESERVE is ignored. Job slot reservation for parallel jobs
is enabled by RESOURCE_RESERVE if the LSF scheduler plugin module names for
both resource reservation and parallel batch jobs (
schmod_parallel
and
schmod_reserve
) are configured in the lsb.modules file: The
schmod_parallel
name must come before
schmod_reserve
in lsb.modules.
If a job has not accumulated enough memory or job slots to start by the time
MAX_RESERVE_TIME expires, it releases all its reserved job slots or memory so that
other pending jobs can run. After the reservation time expires, the job cannot reserve
memory or slots for one scheduling session, so other jobs have a chance to be
dispatched. After one scheduling session, the job can reserve available memory and job
slots again for another period specified by MAX_RESERVE_TIME.
If BACKFILL is configured in a queue, and a run limit is specified with
-W on bsub or
with RUNLIMIT in the queue, backfill jobs can use the accumulated memory reserved
by the other jobs in the queue, as long as the backfill job can finish before the predicted
start time of the jobs with the reservation.
Unlike slot reservation, which only applies to parallel jobs, memory reservation and
backfill on memory apply to sequential and parallel jobs.
Example
RESOURCE_RESERVE=MAX_RESERVE_TIME[5]
This example specifies that jobs have up to 5 dispatch turns to reserve sufficient job slots
or memory (equal to 5 minutes, by default).
Default
Undefined (no job slots or memory reserved)
RES_REQ
Syntax
RES_REQ=
res_req
Description
Resource requirements used to determine eligible hosts. Specify a resource requirement
string as usual. The resource requirement string lets you specify conditions in a more
flexible manner than using the load thresholds.
The
select section defined at the queue level must be satisfied at in addition to any
job-level requirements or load thresholds.
The
rusage section can specify additional requests. To do this, use the OR (||) operator
to separate additional
rusage strings.
When both job-level and queue-level
rusage sections are defined, the rusage section
defined for the job overrides the
rusage section defined in the queue. The two
rusage definitions are merged, with the job-level rusage taking precedence. For
example: