[libvirt-users] How can i limit CPU allowance to 25% of a single core

Martin Kletzander mkletzan at redhat.com
Tue Sep 19 11:20:57 UTC 2017

On Tue, Sep 19, 2017 at 02:57:09AM +0530, Shashwat shagun wrote:
>How do Hard limit a CPU allowance to 25% of a single core in KVM?

Using `period`/`quota` and `shares` parameters of cgroups.  This is
mapped to the domain XML's respective `cputune` elements [1].


[1] https://libvirt.org/formatdomain.html#elementsCPUTuning

>Shashwat Shagun

>libvirt-users mailing list
>libvirt-users at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170919/f044b9b6/attachment.sig>

More information about the libvirt-users mailing list