NUMA
Cheat sheet · https://pcornel.dk/topic.php?topic=3496
Answer
Memory NUMA placement keeps a VM's memory on the same NUMA node as the cores running its vCPUs. VMs larger than one node should get vNUMA, and tools like numastat or esxtop show how much memory is remote.
Remember
- Remote memory adds latency.
- Large VMs need vNUMA.
- Migration can break locality temporarily.
First checks
numastat -m— per-node memorynumactl -H— nodes and free memoryvirsh numatune <vm>— VM policy
Verify in this order
vCPUs on node → memory on same node
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=3496