VMware Cloud Community
marc045
Contributor
Contributor
Jump to solution

How to retrieve Memory Overhead for a VM?

Hi All,

In vSphere Client > Select a VM > Summary tab, under General, shows:

Guest OS: Windows XP

VM Version: 7

CPU: 1 vCPU

Memory: 1024 MB

Memory Overhead 103.58 MB

With PowerCLI, how do I retrieve this "103.58" figure for VM "vm123" ?

Regards

marc0

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RvdNieuwendijk
Leadership
Leadership
Jump to solution

You can get the memory overhead of all your VM's with:

Get-VM | Select Name,@{N="MemoryOverhead";E={$_.ExtensionData.Runtime.MemoryOverhead/1MB}}

Regards, Robert

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition

View solution in original post

0 Kudos
4 Replies
RvdNieuwendijk
Leadership
Leadership
Jump to solution

You can get the memory overhead of all your VM's with:

Get-VM | Select Name,@{N="MemoryOverhead";E={$_.ExtensionData.Runtime.MemoryOverhead/1MB}}

Regards, Robert

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos
AlbertWT
Virtuoso
Virtuoso
Jump to solution

What is that overhead used for ?

/* Please feel free to provide any comments or input you may have. */
0 Kudos
DSTAVERT
Immortal
Immortal
Jump to solution

It is the memory that the host uses to service the guest. Page tables etc.

http://www.vmware.com/files/pdf/perf-vsphere-memory_management.pdf

-- David -- VMware Communities Moderator
0 Kudos
AlbertWT
Virtuoso
Virtuoso
Jump to solution

ah OK, many thanks man !

so the larger the vRAM in a VM the larger the overhead size ?

/* Please feel free to provide any comments or input you may have. */
0 Kudos