LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 301
Fairshare Scheduling
◆ If any of these queues uses cross-queue fairshare, the other queues must also
use cross-queue fairshare and belong to the same set, or they cannot have the
same queue priority. For more information, see Cross-queue User-based
Fairshare on page 302.
Host Partition User-based Fairshare
User-based fairshare policies configured at the host level handle resource
contention across multiple queues.
You can define a different fairshare policy for every host partition. If multiple
queues use the host partition, a user has the same priority across multiple queues.
To run a job on a host that has fairshare, users must have a share assignment
(USER_SHARES in the
HostPartition section of lsb.hosts). Even cluster
administrators cannot submit jobs to a fairshare host if they do not have a share
assignment.
View host partition information
1 Use bhpart to view the following information:
◆ Host partitions configured in your cluster
◆ Number of shares (for each user or group in a host partition)
◆ Dynamic share priority (for each user or group in a host partition)
◆ Number of started jobs
◆ Number of reserved jobs
◆ CPU time, in seconds (cumulative CPU time for all members of the group,
recursively)
◆ Run time, in seconds (historical and actual run time for all members of the
group, recursively)
% bhpart Partition1
HOST_PARTITION_NAME: Partition1
HOSTS: hostA hostB hostC
SHARE_INFO_FOR: Partition1/
USER/GROUP SHARES PRIORITY STARTED RESERVED CPU_TIME RUN_TIME
group1 100 5.440 5 0 200.0 1324
Configure host partition fairshare scheduling
1 To configure host partition fairshare, define a host partition in lsb.hosts.
Use the following format.
Begin HostPartition
HPART_NAME = Partition1
HOSTS = hostA hostB ~hostC
USER_SHARES = [groupA@, 3] [groupB, 7] [default, 1]
End HostPartition
◆ A host cannot belong to multiple partitions.