Platform LSF Administration Guide Version 6.2
Host Partition User-based Fairshare
Administering Platform LSF
282
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.
Viewing host partition information
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)
Example
%
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
Configuring host partition fairshare scheduling
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.
◆
Optionally, use the reserved host name all to configure a single partition that
applies to all hosts in a cluster.
◆
Optionally, 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.