Hello!
I've created two KVM VM (maximum CPU for both) and set cpuunits:
103 - 1000
104 - 500
When I used 100% CPU on both VM at the same time i saw a splitting CPU fifty-fifty between two VM.
The cpuunits wasn't been configured for cgroup:
root@vds-02:/# cat /proc/vz/fairsched/104/cpu.shares
1024
I've edited this file:
echo 512 > /proc/vz/fairsched/104/cpu.shares
And it works. A splitting CPU works like i want.
Why configuring of cpuunits for KVM by WEB-GUI or qm doesn't work? How can I fix it?
Thanks!
I've created two KVM VM (maximum CPU for both) and set cpuunits:
103 - 1000
104 - 500
When I used 100% CPU on both VM at the same time i saw a splitting CPU fifty-fifty between two VM.
The cpuunits wasn't been configured for cgroup:
root@vds-02:/# cat /proc/vz/fairsched/104/cpu.shares
1024
I've edited this file:
echo 512 > /proc/vz/fairsched/104/cpu.shares
And it works. A splitting CPU works like i want.
Why configuring of cpuunits for KVM by WEB-GUI or qm doesn't work? How can I fix it?
Thanks!
Last edited: