Host Memory
Cheat sheet · https://pcornel.dk/topic.php?topic=3490
Answer
Host memory is the physical RAM of the hypervisor host, shared between the hypervisor, VM overhead and every VM's guest memory. When it runs short the host reclaims memory by sharing, ballooning, compression or swapping.
Remember
- Host needs memory for itself and VM overhead.
- Low free memory triggers reclaim.
- Failover needs spare memory on other hosts.
First checks
free -h— host total/availablevirsh nodememstats— libvirt host memoryGet-VMHost | fl MemoryCapacity; Get-Counter '\Memory\Available MBytes'— Hyper-V host
Commands
ceph daemon osd.N dump_mempools
Verify in this order
physical RAM → host reserve + VM allocations
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=3490