How can we vzctl 101 set --cpuunits > 500 000 [message #49211] |
Tue, 09 April 2013 09:42  |
XavM
Messages: 5 Registered: April 2013 Location: France
|
Junior Member |
|
|
The context :
Our server has 16 physical Cores (32 reported by /proc/cpuinfo because of HyperThreading)
On this server, vzcpucheck reports : Power of the node: 3 359 610
We want to configure several small CTs and a big one on this server and make sure that CPU performances will be predictable.
To achieve this predictability, we want to set the values for cpuunits and cpulimit to the same relative amount on the "big" container;
This would guarantee we will always have the same amout of available CPU in this big CT, wether the others small CTs are using CPU or not.
This would also guarantee that n% of used CPU reported from within the CT always corresponds to the same time of physical CPU on the hardware node.
The Big CT should have 50% of the available CPU and we assumed the following command would be appropriate :
vzctl set 101 --cpuunits 1679805 --cpulimit 50 --save
(with 1 679 805 = Power of the node/2 = 3 359 610/2 )
But we can't set anything bigger than 500 000 for cpuunits.
We have seen bug 861, but still don't understand why setting a value higher than 500 000 to cpuunits is not allowed.
The message 28790 in the forum, says cpuunits are "relative values" <- but relative to what ? Isn't it relative to "vzcpucheck Power of the node"
The Question :
How can we configure a CT to have a Min/Max (cpuunits / cpulimit) CPU of 50% of all the available CPU , when vzcpucheck reports a Power of the node to be 3 359 610
Regards,
XavM
|
|
|