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

Equal Share<br />

Configuring<br />

Equal share balances resource usage equally between users. This is also called<br />

round-robin scheduling, because if users submit identical jobs, <strong>LSF</strong> runs one<br />

job from each user in turn.<br />

If 2 users compete for resources, they have equal importance.<br />

To configure equal share, use the keyword default to define an equal share<br />

for every user.<br />

Example<br />

Begin HostPartition<br />

HPART_NAME = equal_share_partition<br />

HOSTS = all<br />

USER_SHARES = [default, 1]<br />

End HostPartition<br />

Priority user and static priority fairshare<br />

Priority user fairshare<br />

Configuring<br />

There are two ways to configure fairshare so that a more important user’s job<br />

always overrides the job of a less important user, regardless of resource use.<br />

◆ Static Priority Fairshare<br />

Dynamic priority is no longer dynamic, because resource use is ignored.<br />

The user with the most shares always goes first.<br />

This is useful to configure multiple users in a descending order of priority.<br />

◆ Priority User Fairshare<br />

Dynamic priority is calculated as usual, but more important and less<br />

important users are assigned a drastically different number of shares, so<br />

that resource use has virtually no effect on the dynamic priority: the user<br />

with the overwhelming majority of shares always goes first. However, if<br />

two users have a similar or equal number of shares, their resource use still<br />

determines which of them goes first.<br />

This is useful for isolating a group of high-priority or low-priority users,<br />

while allowing other fairshare policies to operate as usual most of the time.<br />

Priority user fairshare gives priority to important users, so their jobs override<br />

the jobs of other users. You can still use fairshare policies to balance resources<br />

among each group of users.<br />

If 2 users compete for resources, and one of them is a priority user, the priority<br />

user’s job always runs first.<br />

To configure priority users, assign the overwhelming majority of shares to the<br />

most important users.<br />

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

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

Saved successfully!

Ooh no, something went wrong!