Hello all!
I would greatly appreciate your help with some cgroup question. Libvirt
xml has cpu tuning section and quota element in it. That parameter sets
up cpu.cfs_cgroup_us for every domain's vcpu. I set it to 55555 and has
such hierarchy of cgroups:
cpu.cfs_quota_us (-1)
|
|-emulator/cpu.cfs_quota_us (-1)
|-vcpu0/cpu.cfs_quota_us (55555)
|-vcpu1/cpu.cfs_quota_us (55555)
|-vcpu2/cpu.cfs_quota_us (55555)
....
\-vcpuN/cpu.cfs_quota_us (55555)
Is there any way to set up upper level quota limit via libvirt without
setting every vcpu? So I'd like to get next hierarchy:
cpu.cfs_quota_us (55555)
|
|-emulator/cpu.cfs_quota_us (-1)
|-vcpu0/cpu.cfs_quota_us (-1)
|-vcpu1/cpu.cfs_quota_us (-1)
|-vcpu2/cpu.cfs_quota_us (-1)
....
\-vcpuN/cpu.cfs_quota_us (-1)
Thank you!
--
Regards,
Alexander Burluka