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 />

Configuring a share tree<br />

Example<br />

Group membership is already defined in the UserGroup section of<br />

lsb.users. To configure a share tree, use the USER_SHARES column to<br />

describe how the shares are distributed in a hierachical manner. Use the<br />

following format.<br />

Begin UserGroup<br />

GROUP_NAME GROUP_MEMBER USER_SHARES<br />

GroupB (User1 User2) ()<br />

GroupC (User3 User4) ([User3, 3] [User4, 4])<br />

GroupA (GroupB GroupC User5) ([User5, 1] [default, 10])<br />

End UserGroup<br />

◆ User groups must be defined before they can be used (in the<br />

GROUP_MEMBER column) to define other groups.<br />

◆ Enclose the share assignment list in parentheses, as shown, even if you do<br />

not specify any user share assignments.<br />

An Engineering queue or host partition organizes users hierarchically, and<br />

divides the shares as shown. It does not matter what the actual number of<br />

shares assigned at each level is.<br />

Engineering<br />

25% 50% 25%<br />

Technical<br />

Support<br />

Development Research<br />

50% 35% 15% 80% 20%<br />

Test Application Systems Chip X Chip Y<br />

50% 50% 80% 20%<br />

User 1 User 2 User 3 User 4<br />

The Development group will get the largest share (50%) of the resources in the<br />

event of contention. Shares assigned to the Development group can be further<br />

divided among the Systems, Application and Test groups which receive 15%,<br />

35%, and 50%, respectively. At the lowest level, individual users compete for<br />

these shares as usual.<br />

One way to measure a user’s importance is to multiply their percentage of the<br />

resources at every level of the share tree. For example, User1 is entitled to 10%<br />

of the available resources (.50 x .80 x .25 = .10) and User3 is entitled to 4%<br />

(.80 x .20 x .25 = .04). However, if Research has the highest dynamic share<br />

priority among the 3 groups at the top level, and ChipY has a higher dynamic<br />

priority than ChipX, the next comparison is between User3 and User4, so the<br />

importance of User1 is not relevant. The dynamic priority of User1 is not even<br />

calculated at this point.<br />

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

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

Saved successfully!

Ooh no, something went wrong!