Pcornel
Virtualization · Capacity Planning

VM Density

Cheat sheet · https://pcornel.dk/topic.php?topic=3679

Back to the Topic

Answer

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.

Remember

  • The scarcest resource sets density — usually memory.
  • Higher density = bigger blast radius.
  • Licensing may favour density.

First checks

  • qm list | wc -l — VMs per node
  • Get-VM | measure — Hyper-V VM count
  • pvesh get /cluster/resources --type vm — cluster VMs

Verify in this order

VMs ÷ hosts → density

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=3679

Confirmation

Confirm action

Continue?