[SOLVED] VM CPU usage greater than 100% to be expected?

apoc

Famous Member
Oct 13, 2017
1,048
166
108
Hello Proxmox-Team,

I noticed that my VMs go beyond 100% CPU usage. Highest I could see was 103.85%. My host is running the latest and greatest PVE release (CE).
It is independent from the guest type (saw on multi- and single-CPU VMs, as well as on Windows and Linux guests).

An example:
cpu-usage-gt-100.png


Is this expected (because the overhead on the host is also accounted for) or is this an unwanted feature (not to use the term "bug")?
Thanks for clarification and with best regards
Thomas
 
hi,

Is this expected (because the overhead on the host is also accounted for)
yes it can happen. this is because qemu spawns a thread for every cpu you assign to the vm, and has its own thread for managing (or more than one in some cases).

if you'd like to avoid this, go to VM- > Hardware -> Processor
set 'CPU Limit' to the same number as the number of the assigned processors.
 
  • Like
Reactions: techtomic

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!