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.

Queue-Level Resource Requirements<br />

Syntax<br />

Chapter 13<br />

Specifying Resource Requirements<br />

Each queue can define resource requirements that will be applied to all the<br />

jobs in the queue.<br />

When resource requirements are specified for a queue, and no job-level<br />

resource requirement is specified, the queue-level resource requirements<br />

become the default resource requirements for the job.<br />

The condition for dispatching a job to a host can be specified through the<br />

queue-level RES_REQ parameter in the queue definition in lsb.queues.<br />

Examples<br />

RES_REQ=select[((type==ALPHA && r1m < 2.0)||(type==HPPA && r1m < 1.0))]<br />

This will allow a queue, which contains ALPHA and HPPA hosts, to have<br />

different thresholds for different types of hosts.<br />

RES_REQ=select[((hname==hostA && mem > 50)||(hname==hostB && mem > 100))]<br />

Using the hname resource in the resource requirement string allows you to set<br />

up different conditions for different hosts in the same queue.<br />

Load thresholds<br />

loadSched<br />

loadStop<br />

Load thresholds can be configured by your <strong>LSF</strong> administrator to schedule jobs<br />

in queues. Load thresholds specify a load index value. There are two types of<br />

load thresholds:<br />

The scheduling threshold which determines the load condition for dispatching<br />

pending jobs. If a host’s load is beyond any defined loadSched, a job will not<br />

be started on the host. This threshold is also used as the condition for resuming<br />

suspended jobs.<br />

The suspending condition that determines when running jobs should be<br />

suspended.<br />

Thresholds can be configured for each queue, for each host, or a combination<br />

of both. To schedule a job on a host, the load levels on that host must satisfy<br />

both the thresholds configured for that host and the thresholds for the queue<br />

from which the job is being dispatched.<br />

The value of a load index may either increase or decrease with load,<br />

depending on the meaning of the specific load index. Therefore, when<br />

comparing the host load conditions with the threshold values, you need to use<br />

either greater than (>) or less than (

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

Saved successfully!

Ooh no, something went wrong!