Proxmox Cpulimit doesnt work

ggsmarket

Member
Oct 9, 2014
37
0
6
vpscheaper.com
Hi,

I tried to limit CPU % by qm set VMID --cpulimit <value>
And reboot VM, now this value is in vm config file.

But it still load very high. I mean over 50% per CPU. (that VM has only 1 CPU and i set 50 for it).

THank you.
 
I think you mean different things. I have done same things on testvm. I can't set 50 at the webinterface in cpulimit. 50 says 50cores. That what you mean are the units. But also when you set the units you doesn't see that the machine consumes fewer load. You set only the cpu time what the guest gets. Example:

Code:
...
cores: 8
cpulimit: 6
cpuunits: 250000
vcpus: 2
...

So for the VM it looks likes here that she has 2 Cores. You can go up to max 6 Cores. Ok this makes no sense, but only for an example. Better were an cpulimit for 8. Cpuunits says 250000. That are 50% of the set cpu's (vcpus: 2). When you don't set vcpus an cpulimit, next example:

Code:
...
cores: 32
cpuunits: 250000
...

For example this PVEhost have 32 real cores. Then you have with this example full 50% from this cputime.

Best Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!