LSF Version 7.3 - Running Jobs With Platform LSF
End Limit
Begin Limit
NAME = limit_ext1
PER_HOST = all
RESOURCE = ([user1_num, 30] [hc_num, 20])
End Limit
blimits displays the following:
blimits
INTERNAL RESOURCE LIMITS:
NAME USERS QUEUES HOSTS PROJECTS SLOTS MEM TMP SWP
limit1 user1 q2 hostA@cluster1 - - 10/25 - 10/258
limit1 user1 q3 hostA@cluster1 - - - 30/2953 -
limit1 user1 q4 hostC - - - 40/590 -
EXTERNAL RESOURCE LIMITS:
NAME USERS QUEUES HOSTS PROJECTS user1_num hc_num
limit_ext1 - - hostA@cluster1 - - 1/20
limit_ext1 - - hostC@cluster1 - 1/30 1/20
◆
In limit policy limit1, user1 submitting jobs to q2, q3, or q4 on hostA or
hostC is limited to 30% tmp space, 50% swap space, and 10% available memory.
No limits have been reached, so the jobs from
user1 should run. For example, on
hostA for jobs from q2, 10 MB of memory are used from a 25 MB limit and 10
MB of swap space are used from a 258 MB limit.
◆
In limit policy limit_ext1, external resource user1_num is limited to 30 per
host and external resource
hc_num is limited to 20 per host. Again, no limits have
been reached, so the jobs requesting those resources should run.
Use
lsload and lshosts to confirm the percentage display:
lsload
HOST_NAME status r15s r1m r15m ut pg ls it tmp swp mem
hostA ok 0.0 0.0 0.0 0% 2.8 2 0 7046M 515M 174M
hostC ok 0.0 0.0 0.2 0% 2.1 2 1 745M 133M 170M
hostB ok 0.0 0.0 0.0 0% 4.5 2 116 6332M 469M 129M
lshosts
HOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCES
hostB LINUX86 PC1133 23.1 1 249M 509M Yes ()
hostA LINUX86 PC1133 23.1 1 248M 517M Yes ()
hostC LINUX86 PC1133 23.1 1 500M 133M Yes ()