Platform LSF Administration Guide Version 6.2
Chapter 16
Fairshare Scheduling
Administering Platform LSF
289
◆
Number of shares
◆
Dynamic share priority (LSF compares dynamic priorities of users who belong to
same group, at the same level)
◆
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 -r Partition1
HOST_PARTITION_NAME: Partition1
HOSTS: HostA
SHARE_INFO_FOR: Partition1/
USER/GROUP SHARES PRIORITY STARTED RESERVED CPU_TIME RUN_TIME
group1 40 1.867 5 0 48.4 17618
group2 20 0.775 6 0 607.7 24664
SHARE_INFO_FOR: Partition1/group2/
USER/GROUP SHARES PRIORITY STARTED RESERVED CPU_TIME RUN_TIME
user1 8 1.144 1 0 9.6 5108
user2 2 0.667 0 0 0.0 0
others 1 0.046 5 0 598.1 19556
Configuring hierarchical fairshare
To define a hierarchical fairshare policy, configure the top-level share assignment in
lsb.queues or lsb.hosts, as usual. Then, for any group of users affected by the
fairshare policy, configure a share tree in the
UserGroup section of lsb.users. This
specifies how shares assigned to the group, collectively, are distributed among the
individual users or subgroups.
If shares are assigned to members of any group individually, using
@, there can be no
further hierarchical fairshare within that group. The shares are assigned recursively to all
members of all subgroups, regardless of further share distributions defined in
lsb.users. The group members and members of all subgroups compete for resources
according to FCFS policy.
You can choose to define a hierarchical share tree for some groups but not others. If you
do not define a share tree for any group or subgroup, members compete for resources
according to FCFS policy.
Configuring a share tree
Group membership is already defined in the UserGroup section of lsb.users. To
configure a share tree, use the USER_SHARES column to describe how the shares are
distributed in a hierachical manner. Use the following format.