Shashwat shagun
2017-Sep-18 21:27 UTC
[libvirt-users] How can i limit CPU allowance to 25% of a single core
Hi, How do Hard limit a CPU allowance to 25% of a single core in KVM? Regards, Shashwat Shagun
Martin Kletzander
2017-Sep-19 11:20 UTC
Re: [libvirt-users] How can i limit CPU allowance to 25% of a single core
On Tue, Sep 19, 2017 at 02:57:09AM +0530, Shashwat shagun wrote:>Hi, >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]. Martin [1] https://libvirt.org/formatdomain.html#elementsCPUTuning>Regards, >Shashwat Shagun >>_______________________________________________ >libvirt-users mailing list >libvirt-users@redhat.com >https://www.redhat.com/mailman/listinfo/libvirt-users