xavier de poorter wrote:
> <snip>
> ls -l /dev/cpuset/test/
> total 0
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.cpu_exclusive
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.cpus
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.mem_exclusive
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.mem_hardwall
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.memory_migrate
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.memory_pressure
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.memory_spread_page
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.memory_spread_slab
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.mems
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.sched_load_balance
> -rw-r--r-- 1 root root 0 Jul 14 18:27 cpuset.sched_relax_domain_level
> -rw-r--r-- 1 root root 0 Jul 14 18:27 notify_on_release
> -rw-r--r-- 1 root root 0 Jul 14 18:27 tasks
You are using cgroups, so use the cgroup support in util-vserver.
E.g.
# To make the util-vserver initscript do all the necessary setup.
mkdir /etc/vservers/.defaults/cgroup
# Reboot, or rerun it.
/etc/init.d/util-vserver restart
mkdir /etc/vservers/test/cgroup
echo 1 > /etc/vservers/test/cgroup/cpuset.cpus
echo 0 > /etc/vservers/test/cgroup/cpuset.mems
-- Daniel Hokka ZakrissonReceived on Tue Jul 14 18:19:26 2009