Overcommitment
Cheat sheet · https://pcornel.dk/topic.php?topic=3417
Answer
CPU overcommit is common because runnable vCPUs can be time-scheduled over physical CPUs. Memory overcommit depends more heavily on platform mechanisms and workload behavior because active guest memory ultimately requires backing or reclamation.
Remember
- Overcommitment does not create physical capacity.
- Configured/assigned resources, actively used resources and guaranteed/reserved resources are different quantities.
- CPU and memory overcommit have different failure/performance characteristics.
- A host can remain “up” while workloads suffer latency from contention or reclamation.
First checks
virsh nodememstats— host memory useesxtop (press c / m)— ESXi CPU ready and memory stateGet-Counter '\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time'— Hyper-V CPU load
Verify in this order
allocations > physical → contention → ready/steal/swap
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.
Virtualization Fundamentals → Overcommitment reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Configured | Virtual resources assigned | May exceed physical total |
| Demand | Resources workload actually requests | Changes over time |
| Physical capacity | Finite host backing | Hard shared boundary |
| Contention | Demand exceeds immediately serviceable capacity | Observed in scheduler/memory metrics |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3417