Platform LSF Administration Guide Version 6.2
Chapter 28
Running Parallel Jobs
Administering Platform LSF
455
Parallel Fairshare
LSF can consider the number of CPUs when using fairshare scheduling with parallel
jobs.
If the job is submitted with
bsub -n, the following formula is used to calculate
dynamic priority:
dynamic priority = number_shares / (cpu_time * CPU_TIME_FACTOR + run_time
* number_CPUs * RUN_TIME_FACTOR + (1 + job_slots )* RUN_JOB_FACTOR)
where number_CPUs is the number of CPUs used by the job.
Configuring parallel fairshare
To configure parallel fairshare:
1
Configure fairshare at the queue or host partition level as indicated in “Fairshare
Scheduling” on page 275.
2
To enable parallel fairshare, set the parameter LSB_NCPU_ENFORCE=1 in
lsf.conf.
3
To make your changes take effect, use the following commands to restart all LSF
daemons:
#
lsadmin reconfig
#
lsadmin resrestart all
#
badmin hrestart all
#
badmin mbdrestart