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 />

Example 3<br />

Example 4<br />

Example 5<br />

Example 6<br />

Example 7<br />

Limit usage of hosts in license1 group:<br />

◆ 10 jobs can run from normal queue<br />

◆ Any number can run from short queue, but only can use 200 MB of<br />

memory in total<br />

◆ Each other queue can run 30 jobs, each queue using up to 300 MB of<br />

memory in total<br />

Begin Limit<br />

HOSTS SLOTS MEM PER_QUEUE<br />

license1 10 - normal<br />

license1 - 200 short<br />

license1 30 300 (all ~normal ~short)<br />

End Limit<br />

All users in user group ugroup1 except user1 using queue1 and queue2 and<br />

running jobs on hosts in host group hgroup1 are limited to 2 job slots per<br />

processor on each host:<br />

Begin Limit<br />

NAME<br />

= limit1<br />

# Resources:<br />

SLOTS_PER_PROCESSOR = 2<br />

#Consumers:<br />

QUEUES = queue1 queue2<br />

USERS = ugroup1 ~user1<br />

PER_HOST = hgroup1<br />

End Limit<br />

user1 and user2 can use all queues and all hosts in the cluster with a limit of<br />

20 MB of available memory:<br />

Begin Limit<br />

NAME = 20_MB_mem<br />

# Resources:<br />

MEM = 20<br />

# Consumers:<br />

USERS = user1 user2<br />

End Limit<br />

All users in user group ugroup1 can use queue1 and queue2 and run jobs on<br />

any host in host group hgroup1 sharing 10 job slots:<br />

Begin Limit<br />

NAME = 10_slot<br />

# Resources:<br />

SLOTS = 10<br />

#Consumers:<br />

QUEUES = queue1 queue2<br />

USERS = ugroup1<br />

HOSTS = hgroup1<br />

End Limit<br />

All users in user group ugroup1 except user1 can use all queues but queue1<br />

and run jobs with a limit of 10% of available memory on each host in host<br />

group hgroup1:<br />

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

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

Saved successfully!

Ooh no, something went wrong!