Note: This page updates information from the original cgroup design in PP-325
Overview
The release of cgroups v2 in the Linux kernel combined with the adoption of systemd style service management in most popular Linux distros means that the cgroup hook in PBS Pro must be updated to support new capabilities. This document describes the interface changes that will be introduced.
Interface 1:
- Synopsis: cgroup.cpuset.exclude_cpus
- Detail: Allow administrator to exclude cores from being assigned to jobs by adding numeric entries to a JSON list within the cpuset section of the cgroup hook configuration file.
- Default: Empty list, no CPUs excluded
Example:
exclude_cpus"cpuset" : { "enabled" : true, "exclude_cpus" : [0, 8], "exclude_hosts" : ["node004"], "exclude_vntypes" : ["green_node"] },
Interface 2:
- Synopsis: cgroup.cpuset.mem_fences
- Detail: Allow administrator to prevent cgroup hook from binding jobs to NUMA nodes. This prevents the hook from writing values to cpuset.mems in the cpuset subsystem.
- Default: True, cgroup hook will write values to cpuset.mems.
Example:
exclude_cpus"cpuset" : { "enabled" : true, "mem_fences" : false, "exclude_hosts" : ["node004"], "exclude_vntypes" : ["green_node"] },
Project Documentation Main Page