25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Slot Allocation per Queue<br />

Configuring Slot Allocation per Queue<br />

SLOT_SHARE parameter<br />

SLOT_POOL parameter<br />

Host job slot limit<br />

Steps<br />

Configure as many pools as you need in lsb.queues.<br />

The SLOT_SHARE parameter represents the percentage of running jobs (job<br />

slots) in use from the queue. SLOT_SHARE must be greater than zero (0) and<br />

less than or equal to 100.<br />

The sum of SLOT_SHARE for all queues in the pool does not need to be 100%.<br />

It can be more or less, depending on your needs.<br />

The SLOT_POOL parameter is the name of the pool of job slots the queue<br />

belongs to. A queue can only belong to one pool. All queues in the pool must<br />

share the same set of hosts.<br />

The hosts used by the pool must have a maximum job slot limit, configured<br />

either in lsb.hosts (MXJ) or lsb.resources (HOSTS and SLOTS).<br />

1 For each queue that uses queue-based fairshare, define the following in<br />

lsb.queues:<br />

❖ SLOT_SHARE<br />

❖ SLOT_POOL<br />

2 Optionally, define the following in lsb.queues for each queue that uses<br />

queue-based fairshare:<br />

❖ HOSTS to list the hosts that can receive jobs from the queue<br />

If no hosts are defined for the queue, the default is all hosts.<br />

Hosts for queue-based fairshare cannot be in a host partition.<br />

Examples<br />

❖ PRIORITY to indicate the priority of the queue.<br />

3 For each host used by the pool, define a maximum job slot limit, either in<br />

lsb.hosts (MXJ) or lsb.resources (HOSTS and SLOTS).<br />

◆<br />

The following configures a pool named poolA, with three queues with<br />

different shares, using the hosts in host group groupA:<br />

Begin Queue<br />

QUEUE_NAME = queue1<br />

PRIORITY = 50<br />

SLOT_POOL = poolA<br />

SLOT_SHARE = 50<br />

HOSTS = groupA<br />

...<br />

End Queue<br />

220<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!