NUMA
Cheat sheet · https://pcornel.dk/topic.php?topic=3482
Answer
NUMA (non-uniform memory access) splits a host into nodes, each with its own cores and local memory. VMs perform best when their vCPUs and memory fit inside one node, because remote memory access is slower.
Remember
- VM larger than a node pays remote memory cost.
- Socket/core layout should mirror physical nodes.
- NUMA balancing moves memory over time.
First checks
numactl -H— host NUMA layoutnumastat -c qemu-kvm— per-VM memory per nodeGet-VMHostNumaNode— Hyper-V NUMA
Verify in this order
VM placement → node-local memory
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=3482