[libvirt-users] cgroup for VM - does it work properly?

Eric Blake eblake at redhat.com
Wed Mar 5 23:42:27 UTC 2014


On 03/05/2014 04:32 PM, Martin Pavlásek wrote:
> Hi
> 
> I tried to restrict usage of some running VM by cpu.shares (i.e. set to
> 10 from original 1024) on loaded system and it seem doesn't work as I
> expected... all running processes has same CPU usage (by htop) :-/

How exactly are you changing the cgroup settings?  Are you trying to
directly modify cgroup files (unsupported), or using the libvirt API
(such as via virsh schedinfo)?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140305/666a4da9/attachment.sig>


More information about the libvirt-users mailing list