I would not recommend setting a reservation, yes it guarantees no ballooning / swapping, but if you have plenty of memory (compared to VM memory) then it is no concern anyway.
When it comes to memory sharing, it is highly unlikely you will notice any performance difference to be honest.
vSphere is not swapping or ballooning UNLESS there's real memory pressure, at which point you will probably want to see ballooning followed by swapping as other wise your VMs would stop.
Original Message:
Sent: Apr 03, 2015 01:19 PM
From: Schwags
Subject: Disable Memory Ballooning and Sharing
We have a cluster with 5 ESXi 5.1 hosts. We want to make sure there is no memory swapping or ballooning occurring. We've always made sure that our ESX hosts have plenty of RAM to accommodate all that we assign to our VM's, so I think we would be taking a performance hit if we were sharing/swapping or ballooning memory.
I noticed in our test cluster that even though we have more memory on our hosts than the VM's require, it seems like there is some sharing going on. I was not able to find this in our production environment though. I just want to make sure that we're subscribing all of the memory we assign to our hosts and they are not swapping around when not in use.
In the past, i thought this option was in VM Properties under the Resources tab. I think for CPU it's fine, reservation is set to 0 but with unlimited checkbox checked. For Memory I see 0MB for reservation as well, Shares set to normal, Unlimited checked. I also see a checkbox for "Reserve all guest memory (all locked)". Would I want to check this box to be sure there is no sharing? I think ballooning might be a different setting.