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.

Ways to Configure Fairshare<br />

Example<br />

Static priority fairshare<br />

Configuring<br />

A queue is shared by key users and other users. As long as there are jobs from<br />

key users waiting for resources, other users’ jobs will not be dispatched.<br />

1 Define a user group called key_users in lsb.users.<br />

2 Configure fairshare and assign the overwhelming majority of shares to the<br />

critical users:<br />

Begin Queue<br />

QUEUE_NAME = production<br />

FAIRSHARE = USER_SHARES[[key_users@, 2000] [others, 1]]<br />

...<br />

End Queue<br />

Key users have 2000 shares each, while other users together have only 1 share.<br />

This makes it virtually impossible for other users’ jobs to get dispatched unless<br />

none of the users in the key_users group has jobs waiting to run.<br />

If you want the same fairshare policy to apply to jobs from all queues,<br />

configure host partition fairshare in a similar way.<br />

Static priority fairshare assigns resources to the user with the most shares.<br />

Resource usage is ignored.<br />

If 2 users compete for resources, the most important user’s job always runs first.<br />

To implement static priority fairshare, edit lsb.params and set all the<br />

weighting factors used in the dynamic priority formula to 0 (zero).<br />

◆ Set CPU_TIME_FACTOR to 0<br />

◆ Set RUN_TIME_FACTOR to 0<br />

◆ Set RUN_JOB_FACTOR to 0<br />

◆ Set COMMITTED_RUN_TIME_FACTOR to 0<br />

238<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!