CPU Reservations
Cheat sheet · https://pcornel.dk/topic.php?topic=3613
Answer
A CPU reservation guarantees a VM a minimum amount of CPU capacity. It protects critical VMs under contention, but reserved capacity is unavailable to others and counts against HA admission control.
Remember
- Reserved CPU cannot be used by other VMs when it is idle.
- Reservations count against HA admission control.
- CPU reservations are rarely needed outside latency-critical VMs.
First checks
Set-VMProcessor <vm> -Reserve 25— reserve 25 % (Hyper-V)Get-VM <vm> | Get-VMResourceConfiguration (PowerCLI)— vSphere reservationvirsh schedinfo <vm>— libvirt (shares/quota only)
Verify in this order
reservation → guaranteed CPU → admission
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3613