Search Engine: Elastic

Article ID: 1257, created on Oct 6, 2008, last review on May 11, 2014


Currently, the physical CPU is shared between all the VE’s and is not reserved for any specific VE. The cpuuints setting is a relative value.
In an example to illustrate this, one VE has been assigned 1000 cpuuints and another one has 2000 cpuuints. In the case where there is 100% CPU utilization on the node, then the VE which has 2000 cpuuints takes twice the CPU time than the VE which has 1000 cpuuints.

The value assigned to the cpuuints does not limit CPU usage but rather allows the server to distribute CPU time among the VE’s when CPU usage is maximized.
You also can calculate absolute share of CPU bandwidth:

If there are 4 VEes with 2000, 1000, 1000, 1000 CPUunits , then total CPUunits pool is 10000 (5000 for VE0 + 2000 + 1000 + 1000 + 1000)

VE0 uses 5000/10000 = 50% of CPU bandwidth

VE1 uses 2000/10000 = 20% of of CPU bandwidth

VE2,3,4 use 1000/10000 = 10% of CPU bandwidth

If any of VE doesn't fully use its bandwidth - difference is distributed among work-consuming VEes proportionally to their CPUunits.

Please see also how to limit CPU usage per one VE.

Email subscription for changes to this article
Save as PDF