Q. How can I tell if a virtual machine (VM) is using large or small memory pages?

A. Hyper-V maintains performance counters of the number of 4KB (small) and 2MB (large) memory pages allocated to a VM under the Hyper-V Hypervisor Partition countset. You need to look at 2M GPA pages and 4K GPA pages counters and add them to see you total memory for each VM, as shown below. Note these values show the number of pages of each type, NOT the amount of memory.

VM RAM Pages

All VMs use both large and small memory pages. If a VM is using any large memory pages at all, it's configured to use large memory pages.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish