Memory Reservations
Cheat sheet · https://pcornel.dk/topic.php?topic=3616
Answer
A memory reservation guarantees that part or all of a VM's memory is always backed by physical RAM and never swapped. It suits latency-sensitive or passthrough VMs, but reduces overcommit and density.
Remember
- Reservation removes overcommit benefit.
- Passthrough often requires full reservation.
- Affects admission control.
First checks
Get-VMMemory <vm> | fl Minimum,Startup— Hyper-V minimum/startupqm config <vmid> | grep -E 'memory|balloon'— Proxmox balloon minGet-VMResourceConfiguration (PowerCLI)— vSphere reservation
Verify in this order
reservation → pinned physical memory
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=3616