VMware Cloud Community
priscillagr
Enthusiast
Enthusiast
Jump to solution

How does memory shares works?

Hello!

So i as studying how Resource Pools works with share and one thought came to me. How does share works for memory? I can see how it works for CPU. Every time a virtual machine needs to use the physical CPU it will get scheduled to do so. If it has more shares, it will get more more chances to get the physical CPU in a contention situation. But i'm finding hard to understand how it would work for memory. In a contention situation, the virtual machine with high shares for memory would get more memory from where?

Can someone please clear this out for me?

Thanks!

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
SupreetK
Commander
Commander
Jump to solution

AFAIK, memory reclamation will kick in when in contention and then the memory will be allocated based on the shares allotted -

https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/performance/drs-cluster-...​ <-- Page No. 3/4 - Shares

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Cheers,

Supreet

View solution in original post

Reply
0 Kudos
1 Reply
SupreetK
Commander
Commander
Jump to solution

AFAIK, memory reclamation will kick in when in contention and then the memory will be allocated based on the shares allotted -

https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/performance/drs-cluster-...​ <-- Page No. 3/4 - Shares

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Cheers,

Supreet

Reply
0 Kudos