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.

Parallel Fairshare<br />

Parallel Fairshare<br />

<strong>LSF</strong> can consider the number of CPUs when using fairshare scheduling with<br />

parallel jobs.<br />

If the job is submitted with bsub -n, the following formula is used to calculate<br />

dynamic priority:<br />

dynamic priority = number_shares / (cpu_time * CPU_TIME_FACTOR +<br />

run_time * number_CPUs * RUN_TIME_FACTOR + (1 + job_slots )*<br />

RUN_JOB_FACTOR)<br />

where number_CPUs is the number of CPUs used by the job.<br />

Configuring parallel fairshare<br />

To configure parallel fairshare:<br />

1 Configure fairshare at the queue or host partition level as indicated in<br />

“Fairshare Scheduling” on page 201.<br />

2 To enable parallel fairshare, set the parameter LSB_NCPU_ENFORCE=1 in<br />

lsf.conf.<br />

3 To make your changes take effect, use the following commands to restart<br />

all <strong>LSF</strong> daemons:<br />

lsadmin reconfig<br />

lsadmin resrestart all<br />

badmin hrestart all<br />

badmin mbdrestart<br />

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