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.

Cross-queue Fairshare<br />

3 In all the slave queues listed in FAIRSHARE_QUEUES, define all queue<br />

values as desired.<br />

For example:<br />

Begin Queue<br />

QUEUE_NAME = queue2<br />

PRIORITY = 40<br />

NICE = 20<br />

UJOB_LIMIT = 4<br />

PJOB_LIMIT = 2<br />

End Queue<br />

Begin Queue<br />

QUEUE_NAME = queue3<br />

PRIORITY = 50<br />

NICE = 10<br />

PREEMPTION = PREEMPTIVE<br />

QJOB_LIMIT = 10<br />

UJOB_LIMIT = 1<br />

PJOB_LIMIT = 1<br />

End Queue<br />

Controlling job dispatch order in cross-queue fairshare<br />

DISPATCH_ORDER<br />

parameter<br />

(lsb.queues)<br />

Priority range in<br />

cross-queue<br />

fairshare<br />

Jobs from equal<br />

priority queues<br />

Use DISPATCH_ORDER=QUEUE in the master queue to define an ordered<br />

cross-queue fairshare set. DISPATCH_ORDER indicates that jobs are dispatched<br />

according to the order of queue priorities, not user fairshare priority.<br />

By default, the range of priority defined for queues in cross-queue fairshare<br />

cannot be used with any other queues. The priority of queues that are not part<br />

of the cross-queue fairshare cannot fall between the priority range of crossqueue<br />

fairshare queues.<br />

For example, you have 4 queues: queue1, queue2, queue3, and queue4. You<br />

configure cross-queue fairshare for queue1, queue2, and queue3, and assign<br />

priorities of 30, 40, 50 respectively. The priority of queue4 (which is not part<br />

of the cross-queue fairshare) cannot fall between 30 and 50, but it can be any<br />

number up to 29 or higher than 50. It does not matter if queue4 is a fairshare<br />

queue or FCFS queue.<br />

If DISPATCH_ORDER=QUEUE is set in the master queue, queues that are not<br />

part of the ordered cross-queue fairshare can have any priority. Their priority<br />

can fall within the priority range of cross-queue fairshare queues and they can<br />

be inserted between two queues using the same fairshare tree. In the example<br />

above, queue4 can have any priority, including a priority falling between the<br />

priority range of the cross-queue fairshare queues (30-50).<br />

◆<br />

◆<br />

If two or more non-fairshare queues have the same priority, their jobs<br />

are dispatched first-come, first-served based on submission time or job ID<br />

as if they come from the same queue.<br />

If two or more fairshare queues have the same priority, jobs are<br />

dispatched in the order the queues are listed in lsb.queues.<br />

214<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!