25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 16<br />

Resource Allocation Limits<br />

Limits for the following resources have no corresponding limit in lsb.users,<br />

lsb.hosts, and lsb.queues:<br />

◆<br />

◆<br />

◆<br />

◆<br />

SWP<br />

TMP<br />

LICENSE<br />

RESOURCE<br />

How conflicting limits are resolved<br />

Similar conflicting<br />

limits<br />

For similar limits configured in lsb.resources, lsb.users, lsb.hosts, or<br />

lsb.queues, the most restrictive limit is used. For example, a slot limit of 3 for<br />

all users is configured in lsb.resources:<br />

Begin Limit<br />

NAME = user_limit1<br />

USERS = all<br />

SLOTS = 3<br />

End Limit<br />

This is similar, but not equivalent to an existing MAX_JOBS limit of 2 is<br />

configured in lsb.users.<br />

% busers<br />

USER/GROUP JL/P MAX NJOBS PEND RUN SSUSP USUSP<br />

RSV<br />

user1 - 2 4 2 2 0 0<br />

0<br />

user1 submits 4 jobs:<br />

% bjobs<br />

JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME<br />

816 user1 RUN normal hostA hostA sleep 1000 Jan 22 16:34<br />

817 user1 RUN normal hostA hostA sleep 1000 Jan 22 16:34<br />

818 user1 PEND normal hostA sleep 1000 Jan 22 16:34<br />

819 user1 PEND normal hostA sleep 1000 Jan 22 16:34<br />

Two jobs (818 and 819) remain pending because the more restrictive limit of<br />

2 from lsb.users is enforced:<br />

% bjobs -p<br />

JOBID USER STAT QUEUE FROM_HOST JOB_NAME SUBMIT_TIME<br />

818 user1 PEND normal hostA sleep 1000 Jan 22 16:34<br />

The user has reached his/her job slot limit;<br />

819 user1 PEND normal hostA sleep 1000 Jan 22 16:34<br />

The user has reached his/her job slot limit;<br />

If the MAX_JOBS limit in lsb.users is 4:<br />

% busers<br />

USER/GROUP JL/P MAX NJOBS PEND RUN SSUSP USUSP RSV<br />

user1 - 4 4 1 3 0 0 0<br />

and user1 submits 4 jobs:<br />

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

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

Saved successfully!

Ooh no, something went wrong!