LSF Version 7.3 - Administering Platform LSF
Absolute Job Priority Scheduling
460 Administering Platform LSF
Where LSF gets the job information for each factor
Enable absolute priority scheduling
Configure APS_PRIORITY in an absolute priority queue in lsb.queues.
APS_PRIORITY=WEIGHT[[factor, value] [subfactor, value]...]...] LIMIT[[factor,
value] [subfactor
, value]...]...] GRACE_PERIOD[[factor, value] [subfactor,
value]...]...
]
Pending jobs in the queue are ordered according to the calculated APS value.
If weight of a subfactor is defined, but the weight of parent factor is not defined, the
parent factor weight is set as 1.
The WEIGHT and LIMIT factors are floating-point values. Specify a value for
GRACE_PERIOD in seconds (value
s), minutes (valuem), or hours (valueh).
The default unit for grace period is hours.
For example, the following sets a grace period of 10 hours for the MEM factor, 10
minutes for the JPRIORITY factor, 10 seconds for the QPRIORITY factor, and 10
hours (default) for the RSRC factor:
GRACE_PERIOD[[MEM,10h] [JPRIORITY, 10m] [QPRIORITY,10s] [RSRC, 10]]
You cannot specify zero (0) for the WEIGHT, LIMIT, and GRACE_PERIOD of any
factor or subfactor.
APS queues cannot configure cross-queue fairshare (FAIRSHARE_QUEUES) or
host-partition fairshare.
Modify the system APS value (bmod)
The absolute scheduling priority for a newly submitted job is dynamic. Job priority
is calculated and updated based on formula specified by APS_PRIORITY in the
absolute priority queue. Administrators can use
bmod to manually override the
calculated APS value.
Run
bmod -apsn job_ID to undo the previous bmod -aps setting.
Assign a static
system priority and
ADMIN factor value
Administrators can use using bmod -aps "system=value" to assign a static job
priority for a pending job. The value cannot be zero (0).
In this case, job's absolute priority is not calculated. The system APS priority is
guaranteed to be higher than any calculated APS priority value. Jobs with higher
system APS settings have priority over jobs with lower system APS settings.
Factor or subfactor Gets job information from ...
MEM The value for jobs submitted with -R "rusage[mem]"
SWAP The value for jobs submitted with -R "rusage[swp]"
PROC The value of n for jobs submitted with
bsub -n (min, max),
or the value of
PROCLIMIT in lsb.queues
JPRIORITY The dynamic priority of the job, updated every scheduling
cycle and escalated by interval defined in
JOB_PRIORITY_OVER_TIME defined in lsb.params
QPRIORITY The priority of the job submission queue
FS The fairshare priority value of the submission user