Re: cpuunits [message #50947 is a reply to message #50944] |
Sun, 08 December 2013 13:27 |
Paparaciz
Messages: 302 Registered: August 2009
|
Senior Member |
|
|
Quote:Shouldnt the VE which has all cpuunits get the full cpu?
Quote:
if ct1 has 1000 cpuunits and ct2 had 3000 cpuunits it means only that ct3 gets 3times more cpu.
But 3000 cpu units are just (as example) 1% guaranteed, depending on hardware node, right?
no. and why 1%? if you want limit CT cpu resources for example no more than 10% so set cpus to 1 and cpulimit to 10.
please read my answer again.
repeating:
cpuunits is relative value. it doesn't matter if you give 10000/30000 or 1000/3000 or 100000/300000. it only means that CT with more cpuunits will get relatively more cpu on high load. AFAIK it doesn't mean that say one CT will get 1000 cpu cycles, other CT 3000, or with more cpuunits it will get 100000 cpu cycles and other CT 300000.
if you want to limit CT cpu resources it is cpulimit, cpus, and cpumask parameters.
|
|
|