Pcornel
Virtualization · Memory Virtualization

Guest Memory

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

Back to the Topic

Answer

Guest memory is the RAM configured for a VM and seen by its OS. Size it to the workload's working set; too little causes guest swapping, while too much wastes host memory and slows boot and migration.

Remember

  • Size to working set plus headroom.
  • Too much RAM slows boot and migration.
  • Guest paging ≠ host swapping.

First checks

  • free -m — guest view
  • cat /proc/meminfo — guest detail
  • Get-Counter '\Memory\Available MBytes' — Windows guest

Verify in this order

guest allocation → guest usage → host backing

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

Confirmation

Confirm action

Continue?