Memory demande on VM dynamic memory

Nov 26, 2014 at 9:40 AM
Hi
I'm looking for to find the "memory demand" of a VM on a Hyper-v with a automatic program. I found the other counters like "Assigned Memory" using the wmi request on winmgmts:\\$computer\root\virtualization
Msvm_ComputerSystem
Msvm_MemorySettingData
Msvm_Memory

some web site said
Assigned Memory = Memory Demand + (Memory Demand x Memory Buffer/100)
But I find some example where this formula is not correct.

So if some one can help me, i will be very thankful

Jo
Nov 27, 2014 at 12:38 PM
Hi

Finally with a colleague we find what we are looking for.

We notice that Assigned Memory = counter Physical memory of the Win32_PerfFormattedData_BalancerStats_HyperVDynamicMemoryVM

We notice also that
Memory Demand = Assigned Memory * CurrentPressure / 100

the CurrentPressure is also a counter of the Win32_PerfFormattedData_BalancerStats_HyperVDynamicMemoryVM

I hope this post can Help some people.

Thanks