add linux cgroup support (seems to be cpuset-exclusive?)
Closed this issue · 2 comments
ompiteam commented
add linux cgroup support (seems to be cpuset-exclusive?)
{{{
if /proc/self/cgroup exists and is not empty, take the path from the 3rd ':'-separated field
read cpuset cpulist in /dev/cgroup//cpuset.cpus
read cpuset memlist in /dev/cgroup//cpuset.mems
}}}
ompiteam commented
Imported from trac issue 10. Created by bgoglin on 2009-09-25T12:25:21, last modified: 2009-10-11T15:12:13
ompiteam commented
Trac comment by bgoglin on 2009-10-11 15:12:13:
(In [1156]) Rework the Linux-cpuset management code to handle cgroup as well.
We look at cgroup-cpuset first and then at plain cpuset.
This commit fixes #10.
We could have an env variable to configure the mount-point of
cgroup or cpuset filesystem, or search it at configure.