On 08/17/2011 11:58 AM, Orion Poplawski wrote:
> I think I've managed to fix my kvm issues by putting libvirtd into the libvirt
> cgroup:
>
> /etc/sysconfig/libvirtd:\
> ...
> # cgroups
> CGROUP_DAEMON="cpu:/libvirt memory:/libvirt blkio:/libvirt"
>
> I think the host was just getting swamped by all of the guest activity.
> Putting all the VMs is a single cgroup seems to keep things in line.
>
That was wrong. This should do it:
/etc/cgconfig.conf:
group virt {
cpu {
}
memory {
}
blkio {
}
}
/etc/sysconfig/libvirtd:
# cgroups
CGROUP_DAEMON="cpu:/virt memory:/virt blkio:/virt"
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane [log in to unmask]
Boulder, CO 80301 http://www.cora.nwra.com