Configuring slot allocation per queue

Procedure

  1. For each queue that uses queue-based fair share, define the following in lsb.queues:
    1. SLOT_SHARE
    2. SLOT_POOL
  2. Optional: Define the following in lsb.queues for each queue that uses queue-based fair share:
    1. HOSTS to list the hosts that can receive jobs from the queue

      If no hosts are defined for the queue, the default is all hosts.

      Tip: Hosts for queue-based fair share cannot be in a host partition.
    2. PRIORITY to indicate the priority of the queue.
  3. For each host used by the pool, define a maximum job slot limit, either in lsb.hosts (MXJ) or lsb.resources (HOSTS and SLOTS).

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