Configuring slot allocation per queue
Procedure
Configure two pools
The following example configures pool
A
with three queues, with different
shares, using the hosts in host group groupA
:Begin Queue
QUEUE_NAME = queue1
PRIORITY = 50
SLOT_POOL = poolA
SLOT_SHARE = 50
HOSTS = groupA
...
End Queue
Begin Queue
QUEUE_NAME = queue2
PRIORITY = 48
SLOT_POOL = poolA
SLOT_SHARE = 30
HOSTS = groupA
...
End Queue
Begin Queue
QUEUE_NAME = queue3
PRIORITY = 46
SLOT_POOL = poolA
SLOT_SHARE = 20
HOSTS = groupA
...
End Queue
The following configures a pool named poolB
, with three queues with equal
shares, using the hosts in host group groupB
, setting a maximum number of slots for
the pool (MAX_SLOTS_IN_POOL) and enabling a second round of scheduling based on
job priority across the queues in the pool (USE_PRIORITY_IN_POOL):
Begin Queue
QUEUE_NAME = queue4
PRIORITY = 44
SLOT_POOL = poolB
SLOT_SHARE = 30
HOSTS = groupB
MAX_SLOTS_IN_POOL=128
USE_PRIORITY_IN_POOL=Y
...
End Queue
Begin Queue
QUEUE_NAME = queue5
PRIORITY = 43
SLOT_POOL = poolB
SLOT_SHARE = 30
HOSTS = groupB
...
End Queue
Begin Queue
QUEUE_NAME = queue6
PRIORITY = 42
SLOT_POOL = poolB
SLOT_SHARE = 30
HOSTS = groupB
...
End Queue