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.