LSF Version 7.3 - Administering Platform LSF

Typical Slot Allocation Scenarios
314 Administering Platform LSF
View slot allocation of running jobs
1 Use bhosts, bmgroup, and bqueues to verify how LSF maintains the configured
percentage of running jobs in each queue.
The queues configurations above use the following hosts groups:
bmgroup -r
GROUP_NAME HOSTS
groupA hosta hostb hostc
groupB hostd hoste hostf
Each host has a maximum job slot limit of 5, for a total of 15 slots available to
be allocated in each group:
bhosts
HOST_NAME STATUS JL/U MAX NJOBS RUN SSUSP USUSP RSV
hosta ok - 5 5 5 0 0 0
hostb ok - 5 5 5 0 0 0
hostc ok - 5 5 5 0 0 0
hostd ok - 5 5 5 0 0 0
hoste ok - 5 5 5 0 0 0
hostf ok - 5 5 5 0 0 0
Pool named poolA contains queue1,queue2, and queue3.poolB contains
queue4, queue5, and queue6. The bqueues command shows the number
of running jobs in each queue:
bqueues
QUEUE_NAME PRIO STATUS MAX JL/U JL/P JL/H NJOBS PEND RUN SUSP
queue1 50 Open:Active - - - - 492 484 8 0
queue2 48 Open:Active - - - - 500 495 5 0
queue3 46 Open:Active - - - - 498 496 2 0
queue4 44 Open:Active - - - - 985 980 5 0
queue5 43 Open:Active - - - - 985 980 5 0
queue6 42 Open:Active - - - - 985 980 5 0
As a result: queue1 has a 50% share and can run 8 jobs; queue2 has a 30%
share and can run 5 jobs;
queue3 has a 20% share and is entitled 3 slots, but
since the total number of slots available must be 15, it can run 2 jobs
; queue4,
queue5, and queue6 all share 30%, so 5 jobs are running in each queue.
Typical Slot Allocation Scenarios
3 queues with SLOT_SHARE 50%, 30%, 20%, with 15 job slots
This scenario has three phases:
1 All three queues have jobs running, and LSF assigns the number of slots to
queues as expected: 8, 5, 2. Though queue
Genova deserves 3 slots, the total slot
assignment must be 15, so
Genova is allocated only 2 slots:
bqueues
QUEUE_NAME PRIO STATUS MAX JL/U JL/P JL/H NJOBS PEND RUN SUSP
Roma 50 Open:Active - - - - 1000 992 8 0
Verona 48 Open:Active - - - - 995 990 5 0
Genova 48 Open:Active - - - - 996 994 2 0