Platform LSF Administration Guide Version 6.2

Chapter 18
Resource Allocation Limits
Administering Platform LSF
337
Begin Limit
HOSTS SLOTS MEM PER_QUEUE
license1 10 - normal
license1 - 200 short
license1 30 300 (all ~normal ~short)
End Limit
Example 4
All users in user group ugroup1 except user1 using queue1 and queue2 and
running jobs on hosts in host group
hgroup1 are limited to 2 job slots per processor
on each host:
Begin Limit
NAME = limit1
# Resources:
SLOTS_PER_PROCESSOR = 2
#Consumers:
QUEUES = queue1 queue2
USERS = ugroup1 ~user1
PER_HOST = hgroup1
End Limit
Example 5
user1
and user2 can use all queues and all hosts in the cluster with a limit of 20 MB
of available memory:
Begin Limit
NAME = 20_MB_mem
# Resources:
MEM = 20
# Consumers:
USERS = user1 user2
End Limit
Example 6
All users in user group ugroup1 can use queue1 and queue2 and run jobs on any
host in host group
hgroup1 sharing 10 job slots:
Begin Limit
NAME = 10_slot
# Resources:
SLOTS = 10
#Consumers:
QUEUES = queue1 queue2
USERS = ugroup1
HOSTS = hgroup1
End Limit
Example 7
All users in user group ugroup1 except user1 can use all queues but queue1 and run
jobs with a limit of 10% of available memory on each host in host group
hgroup1:
Begin Limit
NAME = 10_percent_mem
# Resources:
MEM = 10%
QUEUES = all ~queue1
USERS = ugroup1 ~user1
PER_HOST = hgroup1
End Limit