LSF Version 7.3 - Administering Platform LSF
Absolute Job Priority Scheduling
462 Administering Platform LSF
Absolute Priority Scheduling factor string changed to : system=10;
Tue Feb 13 15:15:48: Parameters of Job are changed:
Absolute Priority Scheduling factor string changed to : admin=20;
Tue Feb 13 15:15:58: Parameters of Job are changed:
Absolute Priority Scheduling factor string deleted;
Summary of time in seconds spent in various states by Tue Feb 13 15:16:02
PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL
36 0 0 0 0 0 36
Configure APS across multiple queues
Use QUEUE_GROUP in an absolute priority queue in lsb.queues to configure APS
across multiple queues.
When APS is enabled in the queue with APS_PRIORITY, the
FAIRSHARE_QUEUES parameter is ignored. The QUEUE_GROUP parameter
replaces FAIRSHARE_QUEUES, which is obsolete in LSF 7.0.
Example 1 You want to schedule jobs from the normal queue and the short queue, factoring
the job priority (weight 1) and queue priority (weight 10) in the APS value:
Begin Queue
QUEUE_NAME = normal
PRIORITY = 30
NICE = 20
APS_PRIORITY = WEIGHT [[JPRIORITY, 1] [QPRIORITY, 10]]
QUEUE_GROUP = short
DESCRIPTION = For normal low priority jobs, running only if hosts
are lightly loaded.
End Queue
...
Begin Queue
QUEUE_NAME = short
PRIORITY = 20
NICE = 20
End Queue
The APS value for jobs from the normal queue and the short queue are: calculated
as:
APS_PRIORITY = 1 * (1 * job_priority + 10 * queue_priority)
The first 1 is the weight of the WORK factor; the second 1 is the weight of the job
priority subfactor; the 10 is the weight of queue priority subfactor.
If you want the job priority to increase based on the pending time, you must
configure
JOB_PRIORITY_OVER_TIME parameter in the lsb.params.
Example 2 Extending example 1, you want to add user-based fairshare with a weight of 100 to
the APS value in the normal queue:
Begin Queue
QUEUE_NAME = normal