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.

Chapter 14<br />

Fairshare Scheduling<br />

Dynamic User Priority<br />

About dynamic user priority<br />

<strong>LSF</strong> calculates a dynamic user priority for individual users or for a group,<br />

depending on how the shares are assigned. The priority is called dynamic<br />

because it changes as soon as any variable in formula changes. By default, a<br />

user’s dynamic priority gradually decreases after a job starts, and the dynamic<br />

priority immediately increases when the job finishes.<br />

How <strong>LSF</strong> calculates dynamic priority<br />

By default, <strong>LSF</strong> calculates the dynamic priority based on the following<br />

information about each user:<br />

◆ Number of shares assigned to the user<br />

◆ Resources used by jobs belonging to the user:<br />

❖ Number of job slots reserved and in use<br />

❖ Run time of running jobs<br />

❖ Cumulative actual CPU time (not normalized), adjusted so that recently<br />

used CPU time is weighted more heavily than CPU time used in the<br />

distant past<br />

If you enable additional functionality, the formula can also involve additional<br />

resources used by jobs belonging to the user:<br />

◆ Historical run time of finished jobs<br />

◆ Committed run time, specified at job submission with the -W option of<br />

bsub, or in the queue with the RUNLIMIT parameter in lsb.queues<br />

How <strong>LSF</strong> measures fairshare resource usage<br />

<strong>LSF</strong> measures resource usage differently, depending on the type of fairshare:<br />

◆ For queue-level fairshare, <strong>LSF</strong> measures the resource consumption of all<br />

the user’s jobs in the queue. This means a user’s dynamic priority can be<br />

different in every queue.<br />

◆ For host partition fairshare, <strong>LSF</strong> measures resource consumption for all the<br />

user’s jobs that run on hosts in the host partition. This means a user’s<br />

dynamic priority is the same in every queue that uses hosts in the same<br />

partition.<br />

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

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

Saved successfully!

Ooh no, something went wrong!