How to properly set CPU Units for OpenVz VEs

Posted by gucki on Server Fault See other posts from Server Fault or by gucki
Published on 2012-01-12T13:11:20Z Indexed on 2013/11/10 15:59 UTC
Read the original article Hit count: 207

Filed under:
|
|

According to all the sources I read (openvz wiki, various mailinglists, forums, ..) the values of the cpuunits settings are relative to each other. So when all are equal and the system is busy, all receive the same cpu share.

But something still puzzles me with that: why is there a tool "vzcpucheck" which shows "the power of the node/ host":

Current CPU utilization: 18000
Power of the node: 880001

Why is there (do I need) an absolute number when all settings are only relative?

Shouldn't those two settings result in exactly the same?

ve1: 1
ve2: 1
ve3: 1
= 3

ve1: 293334
ve1: 293334
ve1: 293334
= 880001 (power of the node)

What's the difference?

© Server Fault or respective owner

Related posts about virtualization

Related posts about openvz