Search code examples
linuxcentos6lsfcgroups

LSF - Mount a cgroups.cpuset for jobs


Is there a way to use cgroups.cpuset with lsf? It looks like we can only use the freezer and acct from cgroups with the v9.1 of LFS.


Solution

  • Support for cpuset was released in LSF 9.1.1.1 (GA July 31, 2013). The feature adds a new parameter to lsf.conf LSB_RESOURCE_ENFORCE. You can set it to cpu, memory or both. You need to enable the cpu and memory affinity feature of LSF to use cpuset.