[Users] vzctl --cpuunits max?

2014-06-13 Thread Rene C.
I have a server with 12 cores and vzcpucheck reports following "power of the node": [root@server16 ~]# vzcpucheck Current CPU utilization: 646833 Power of the node: 2085210 Essentially I want to allow one container 2/3 of the power of this hardware node but if I set the value of --cpuunits to more

Re: [Users] vzctl --cpuunits max?

2014-06-13 Thread Kir Kolyshkin
Short answer: vzcpucheck was written a long time ago, when the trees were big and CPUs were small. Just divide the numbers it show by say 10 and you'll be fine. On Jun 13, 2014 9:27 AM, "Rene C." wrote: > I have a server with 12 cores and vzcpucheck reports following "power > of the node": > [roo

Re: [Users] vzctl --cpuunits max?

2014-06-13 Thread Rene C.
Now you mention it, I think I remember reading about that before. The cpuunits is really just a matter of percentages, isn't it? If I understand right you could just as well start with a value of 100 for a server and then in this case assign 67 (as 2/3) to this VE, and re remaining 33 to remainin

Re: [Users] vzctl --cpuunits max?

2014-06-13 Thread Kir Kolyshkin
On 06/13/2014 07:05 PM, Rene C. wrote: Now you mention it, I think I remember reading about that before. The cpuunits is really just a matter of percentages, isn't it? If I understand right you could just as well start with a value of 100 for a server and then in this case assign 67 (as 2/3) to