Use this when deciding how many VMs to put on a host and what limits density.
VM Density
VM density is how many VMs run per host. Higher density cuts hardware and licensing cost, but it is limited by the scarcest resource — usually memory — and by how many VMs must restart after a host failure.
1. VM density = VMs per host.
2. Higher density = more failure impact.
3. Limited by memory, licensing and HA reserve.
4. Balance across hosts.
5. Watch density after failures.
VMs ÷ hosts → density
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Packing too many critical VMs on one host.
- Ignoring licensing per socket/core.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- The scarcest resource sets density — usually memory.
- Higher density = bigger blast radius.
- Licensing may favour density.
qm list | wc -l— VMs per nodeGet-VM | measure— Hyper-V VM countpvesh get /cluster/resources --type vm— cluster VMs
ReferenceWhy it matters1 section · depth on demand
Balancing density
Higher density lowers cost per VM (hardware, licences per host/core) but increases the impact of a host failure and the time to evacuate a host for maintenance. Licensing (Windows Datacenter per host, VMware per core) often decides the optimum. Keep failover headroom; a host failure should not overload the others.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
VM density is VMs per host. It follows from the limiting resource: density = min(CPU capacity ÷ average VM CPU demand, memory capacity ÷ average VM memory, storage IOPS ÷ VM IOPS).
Higher density saves licences and hardware but increases the blast radius of a host failure and HA restart storms. Many teams cap density (e.g. 40–60 general VMs per host) for operational reasons even when resources would allow more.
Inputs
- Average and peak CPU/memory per VM type.
- Licensing per host (Windows Datacenter, SQL per core).
- Failure domain size — more VMs per host means more impact when it fails.
- Storage and network per host.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Capacity Planning → VM Density. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%