CPU Overcommit
Cheat sheet · https://pcornel.dk/topic.php?topic=3479
Answer
CPU overcommit assigns more vCPUs than there are physical cores, relying on VMs not all being busy at once. Moderate ratios are normal; too high a ratio shows up as rising CPU ready or steal time.
Remember
- Ratio is a guide; ready time is the proof.
- Idle vCPUs still cost scheduling.
- Large VMs suffer first under overcommit.
First checks
virsh nodeinfo— host pCPU countvirsh list --name | xargs -n1 virsh vcpucount --current --live 2>/dev/null— sum vCPUs (approx.)esxtop— ready time
Verify in this order
vCPUs > pCPUs → scheduling contention
Where it usually breaks
First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; 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=3479