Allocate only idle cpu time?

Darkhand

New Member
Nov 11, 2021
8
8
3
43
Hello all,

Is there a way to prioritize a VM/container to use *only* idle host CPU time? i.e, not affect the performance of any other containers and essentially freeze if the host CPU is 100% utilized by other processes/containers?

Thanks!
 
Hi,
Is there a way to prioritize a VM/container to use *only* idle host CPU time? i.e, not affect the performance of any other containers and essentially freeze if the host CPU is 100% utilized by other processes/containers?
You can set the CPU units value to a low one, see: https://pve.proxmox.com/pve-docs/chapter-pct.html#pct_cpu

I just saw though that we still have some value/range problems from switching to CGroupv2 where patches are on the list, so the GUI is currently not allowing to enter the full range. You can either use the old v1 value of 8, which was the lowest then (now its 1), which should be pretty close to only running while idle.