VMware Cloud Community
priscillagr
Enthusiast
Enthusiast
Jump to solution

Memory Demand x Memory Consumed

Hello,

Can someone explain to me what's the difference between configuring the Workload Policy with Memory Demand or Memory Consumed?

Which one would be more accurate for memory workload?

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

VMs have the ability to demand more memory than that with which they are configured, so the difference between the two is how aggressive you want your policy to be. Consumed is only going on what the VM has as its working set while demand will look at what it may be requesting but cannot receive.

View solution in original post

Reply
0 Kudos
4 Replies
daphnissov
Immortal
Immortal
Jump to solution

VMs have the ability to demand more memory than that with which they are configured, so the difference between the two is how aggressive you want your policy to be. Consumed is only going on what the VM has as its working set while demand will look at what it may be requesting but cannot receive.

Reply
0 Kudos
priscillagr
Enthusiast
Enthusiast
Jump to solution

Hm so let's se if i got it right:

Memory Demand is how much the virtual machine wants to use. It can be greater than the usage because VMs can ask for more ( but they may not get it, which will led to waiting until they can get it). So, if i want an approach more agressive, I would choose this option. I understood this one, thank you!!

Memory consumed i didn't quite get it. Is the value that is configured? Or is it the value that the VM is using? And by using does it means active pages?

Reply
0 Kudos
GayathriS
Expert
Expert
Jump to solution

Hi

Memory Consumed is what the Host has granted to the VM but does not reflect memory that the Guest OS has recovered from terminated processes from running processes i.e. the Host does not know or track the Guest OS's

if you find the answer helpful, please mark it accordingly

Reply
0 Kudos
jengl
Enthusiast
Enthusiast
Jump to solution

Hi,

Memory consumed is derived from all the memory the VM has ever requested, so e.g. Windows zeros all memory pages at boot so normally all allocated memory is consumed.

Memory demand is derived from active memory, which is a estimated value from recently touched memory pages (see Understanding vSphere Active Memory - VMware vSphere Blog ). This is normally much lower than consumed. But I wouldn't trust on it and use an in-guest monitoring or if not possible the Guest|Free Memory(KB) metric from VMware Tools inside vROPS.

Kind regards,

jengl

Reply
0 Kudos