Le 31/08/2020 à 18:19, Guy Streeter a écrit : > As I said, cgroups doesn't limit the group to a number of cores, it > limits processing time, either as an absolute amount or as a share of > what is available. > A docker process can be restricted to a set of cores, but that is done > with cpu affinity, not cgroups.
cgroup can actually do lots of things: limit the available cores (example below with only PU #0), the available NUMA nodes, the amount of RAM in those nodes, processing time, etc. $ cat /sys/fs/cgroup/cpuset/foobar/cpuset.cpus 0 Brice _______________________________________________ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/hwloc-users