Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a OpenVZ and i would like to allocate more than 500000 cpu units.
But the max i can set is 500000.
Does he have a solution to give more power to my vm?

According to all the sources I read (openvz wiki, various mailinglists, forums, ..) the values of the cpuunits max: 500000, min 8.

vzcpucheck
Current CPU utilization: 526000
Power of the node: 1356862
share|improve this question

closed as not a real question by Tom O'Connor, Ward, Dave M, Jenny D, kce Apr 22 '13 at 21:06

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers 2

up vote 4 down vote accepted

May I ask what the hell for?

Check: http://kb.simplywebhosting.com/idx/6/067/article/

The "Unit" has no specific meaning but defines priority.

So, one 10, another 20 means the second gets - when CPU is the limit - twice as much power than the first.

Over 500k in granularity sounds - non,sensible.

share|improve this answer
    
Thank you! I thought the cpu units for the power granted to my vm. –  Funzzy Apr 22 '13 at 12:49
add comment

Yes, like TomTom said, OpenVZ CPUUnits are a relative measure. If you have 2 VMs and grant each of them equal CPUUnits (100, 1000, whatever) they will get an equal share of the host CPU. If you grant one double, triple, etc, it will get double or triple the priority of the CPU usage. There is a tool called vzcpucheck which will measure your CPU and distribute appropriate CPUUnits. Here is the OpenVZ wiki article: http://openvz.org/Resource_shortage#cpuunits

Hope that helps!

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.