25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 14<br />

Fairshare Scheduling<br />

Hierarchical Fairshare<br />

About hierarchical fairshare<br />

For both queue and host partitions, hierarchical fairshare lets you allocate<br />

resources to users in a hierarchical manner.<br />

By default, when shares are assigned to a group, group members compete for<br />

resources according to FCFS policy. If you use hierarchical fairshare, you<br />

control the way shares that are assigned collectively are divided among group<br />

members.<br />

If groups have subgroups, you can configure additional levels of share<br />

assignments, resulting in a multi-level share tree that becomes part of the<br />

fairshare policy.<br />

How hierarchical fairshare affects dynamic share priority<br />

When you use hierarchical fairshare, the dynamic share priority formula does<br />

not change, but <strong>LSF</strong> measures the resource consumption for all levels of the<br />

share tree. To calculate the dynamic priority of a group, <strong>LSF</strong> uses the resource<br />

consumption of all the jobs in the queue or host partition that belong to users<br />

in the group and all its subgroups, recursively.<br />

How hierarchical fairshare affects job dispatch order<br />

<strong>LSF</strong> uses the dynamic share priority of a user or group to find out which user's<br />

job to run next. If you use hierarchical fairshare, <strong>LSF</strong> works through the share<br />

tree from the top level down, and compares the dynamic priority of users and<br />

groups at each level, until the user with the highest dynamic priority is a single<br />

user, or a group that has no subgroups.<br />

Viewing hierarchical share information for a group<br />

Use bugroup -l to find out if you belong to a group, and what the share<br />

distribution is.<br />

This command displays all the share trees that are configured, even if they are<br />

not used in any fairshare policy.<br />

Example % bugroup -l<br />

GROUP_NAME: group1<br />

USERS: group2/ group3/<br />

SHARES: [group2,20] [group3,10]<br />

GROUP_NAME: group2<br />

USERS: user1 user2 user3<br />

SHARES: [others,10] [user3,4]<br />

GROUP_NAME: group3<br />

USERS: all<br />

SHARES: [user2,10] [default,5]<br />

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

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

Saved successfully!

Ooh no, something went wrong!