LSF Version 7.3 - Administering Platform LSF
Queue-level User-based Fairshare
302 Administering Platform LSF
◆ Optional: Use the reserved host name all to configure a single partition
that applies to all hosts in a cluster.
◆ Optional: Use the not operator (~) to exclude hosts or host groups from the
list of hosts in the host partition.
◆ Hosts in a host partition cannot participate in queue-based fairshare.
Hosts that are not included in any host partition are controlled by FCFS
scheduling policy instead of fairshare scheduling policy.
Queue-level User-based Fairshare
User-based fairshare policies configured at the queue level handle resource
contention among users in the same queue. You can define a different fairshare
policy for every queue, even if they share the same hosts. A user’s priority is
calculated separately for each queue.
To submit jobs to a fairshare queue, users must be allowed to use the queue (USERS
in
lsb.queues) and must have a share assignment (FAIRSHARE in lsb.queues).
Even cluster and queue administrators cannot submit jobs to a fairshare queue if
they do not have a share assignment.
View queue-level fairshare information
1 To find out if a queue is a fairshare queue, run bqueues -l. If you see
“USER_SHARES” in the output, then a fairshare policy is configured for the
queue.
Configure queue-level fairshare
1 To configure a fairshare queue, define FAIRSHARE in lsb.queues and specify
a share assignment for all users of the queue:
FAIRSHARE = USER_SHARES[[user, number_shares]...]
◆ You must specify at least one user share assignment.
◆ Enclose the list in square brackets, as shown.
◆ Enclose each user share assignment in square brackets, as shown.
Cross-queue User-based Fairshare
User-based fairshare policies configured at the queue level handle resource
contention across multiple queues.
Applying the same fairshare policy to several queues
With cross-queue fairshare, the same user-based fairshare policy can apply to
several queues can at the same time. You define the fairshare policy in a master
queue and list slave queues to which the same fairshare policy applies; slave queues
inherit the same fairshare policy as your master queue. For job scheduling
purposes, this is equivalent to having one queue with one fairshare tree.