Re: [libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-27 Thread Tang Chen
Hi Eric~ I found that even if I remove cpuset in qemu.conf, the corresponding cgroup directories will still be created. Such as: /cgroup |->cpuset |->libvirt |->qemu ||->vm1 |->lxc Is this behaviour correct ? IMHO, if we shutoff cpuset cgroup in

Re: [libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-23 Thread Tang Chen
Hi Eric, On 09/22/2012 03:04 AM, Eric Blake wrote: -#cgroup_controllers = [ "cpu", "devices", "memory", "blkio", "cpuset", "cpuacct" ] +# When a cpu or memory is offlined and onlined again, cgroup will not +# recover any corresponding values. This is a problem in kernel. +# So DO NOT use cpuset

Re: [libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-23 Thread Wen Congyang
At 09/22/2012 03:04 AM, Eric Blake Wrote: > On 09/21/2012 02:20 AM, Tang Chen wrote: >> When a cpu or memory is offlined and onlined again, cgroup will not >> recover any corresponding values. This is a problem in kernel. >> Do not use CPUSET cgroup to limit threads using cpu and memory until >> th

Re: [libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-21 Thread Eric Blake
On 09/21/2012 02:20 AM, Tang Chen wrote: > When a cpu or memory is offlined and onlined again, cgroup will not > recover any corresponding values. This is a problem in kernel. > Do not use CPUSET cgroup to limit threads using cpu and memory until > the problem is fixed in kernel. > > Signed-off-by

[libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-21 Thread Tang Chen
When a cpu or memory is offlined and onlined again, cgroup will not recover any corresponding values. This is a problem in kernel. Do not use CPUSET cgroup to limit threads using cpu and memory until the problem is fixed in kernel. Signed-off-by: Tang Chen --- src/qemu/qemu.conf |5 -