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

18 Sep
2017
18 Sep
'17
9:27 p.m.
Hi, How do Hard limit a CPU allowance to 25% of a single core in KVM? Regards, Shashwat Shagun

19 Sep
19 Sep
11:20 a.m.
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
2907
Age (days ago)
2908
Last active (days ago)
1 comments
2 participants
participants (2)
-
Martin Kletzander
-
Shashwat shagun