Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have seen this "CPU Units" thing in Proxmox - however I am not sure what they do - what are they used for.

All of our VPS' are set to 1000

We have some windows systems that could use an injection of cpu - so not sure if raising this to say 100000 would work or not...

Also - we use a ton of the container based vps on the system as well - is there a difference between the two

share|improve this question

From the Proxmox forums:

CPU weight for a container. Argument is positive non-zero number, passed to and used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Maximum value is 500000, minimal is 8. Number is relative to weights of all the other running containers. If cpuunits are not specified, default value of 1000 is used.

share|improve this answer
glenn mentioned openvz does not work w/ this - is that correct? – Josh Nov 24 '10 at 5:29 I believe ProxMox also lists this (via that thread) – Glenn Kelley Nov 24 '10 at 5:30

May be this is right explanation.

You first need to find out how many CPU units you have in your system by running:



In my case I get:


vzcpucheck Current CPU utilization: 14000 Power of the node: 906755

Now if I give 1000 units to a VM on this node, it means that this OpenVZ VM is getting 1000 divided by 906755 and multiplied by 100 = 0.1% of the CPU time.

So if I want to give 5 percent of guaranteed time to my VPS, I would enter CPU Units = 45337

share|improve this answer

Both OpenVZ (the containers based system) as well as KVM will work CPU Units the same way within Proxmox

In short - CPU Units are used in the kernel fair scheduler. The larger the value - the more CPU time a container or KVM instance is given.

You noted "would raising this to say 1000000 work?" NO

The maximum number a container may have is 50,000 and the minimum is 8. Proxmox defaults to 1000 - thus the reason you have the default of 1000 in place .

This is how it should work @ present however CPU Units are not obeyed in OpenVZ - so all available CPU is used in each container...

Might want to verify directly with OpenVZ however.

share|improve this answer
I think you're off on the zeros. OP stated 100,000 not 1,000,000 and if the post by ErikA is correct the maximum is 500,000 not 50,000. So OP should be able to raise to 100,000. – HTTP500 Feb 29 '12 at 13:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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