25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Hierarchical Fairshare<br />

Viewing hierarchical share information for a host partition<br />

Example<br />

By default, bhpart only displays the top level share accounts associated with<br />

the partition.<br />

Use bhpart -r to display the group information recursively. The output lists<br />

all the groups in the share tree, starting from the top level, and displays the<br />

following information:<br />

◆ Number of shares<br />

◆ Dynamic share priority (<strong>LSF</strong> compares dynamic priorities of users who<br />

belong to same group, at the same level)<br />

◆ Number of started jobs<br />

◆ Number of reserved jobs<br />

◆ CPU time, in seconds (cumulative CPU time for all members of the group,<br />

recursively)<br />

◆ Run time, in seconds (historical and actual run time for all members of the<br />

group, recursively)<br />

% bhpart -r Partition1<br />

HOST_PARTITION_NAME: Partition1<br />

HOSTS: HostA<br />

SHARE_INFO_FOR: Partition1/<br />

USER/GROUP SHARES PRIORITY STARTED RESERVED CPU_TIME RUN_TIME<br />

group1 40 1.867 5 0 48.4 17618<br />

group2 20 0.775 6 0 607.7 24664<br />

SHARE_INFO_FOR: Partition1/group2/<br />

USER/GROUP SHARES PRIORITY STARTED RESERVED CPU_TIME RUN_TIME<br />

user1 8 1.144 1 0 9.6 5108<br />

user2 2 0.667 0 0 0.0 0<br />

others 1 0.046 5 0 598.1 19556<br />

Configuring hierarchical fairshare<br />

To define a hierarchical fairshare policy, configure the top-level share<br />

assignment in lsb.queues or lsb.hosts, as usual. Then, for any group of<br />

users affected by the fairshare policy, configure a share tree in the UserGroup<br />

section of lsb.users. This specifies how shares assigned to the group,<br />

collectively, are distributed among the individual users or subgroups.<br />

If shares are assigned to members of any group individually, using @, there can<br />

be no further hierarchical fairshare within that group. The shares are assigned<br />

recursively to all members of all subgroups, regardless of further share<br />

distributions defined in lsb.users. The group members and members of all<br />

subgroups compete for resources according to FCFS policy.<br />

You can choose to define a hierarchical share tree for some groups but not<br />

others. If you do not define a share tree for any group or subgroup, members<br />

compete for resources according to FCFS policy.<br />

216<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!