I'm sure this is an easy question. When looking at a vm guest throught the vi console there are 2 memory headings under resources: Guest Memory and Host Memory. If host memory is the amount of ram that the vm guest is using from the host what is guest memory?
Host memory usages is the amount of RAM that has is allocated from the host memory for the VM to use, guest memory usages is the amount of memory that the VM is actively using at a given point.
When RAM is not contended on a system you will see the host memory usage close to that of the allocated RAM for a VM, as it is all allocated on VM boot, and then ESX has not bothered to reclaim it as it does not need the memory for anything else - so there is no need for a reclaim operation and the memory is left assigned to the VM for better performance. What you'll see as you start to get closer to the limits of the available memory in your system is the host memory usage coming down more into line with the guest memory usages - but on the whole before getting to this point if there is a massive difference between the host memory and guest memory usage for a VM it would be worth considering dropping the amount of RAM allocated to a VM, as reclaiming memory from a VM has a performance impact.
Host memory usages is the amount of RAM that has is allocated from the host memory for the VM to use, guest memory usages is the amount of memory that the VM is actively using at a given point.
When RAM is not contended on a system you will see the host memory usage close to that of the allocated RAM for a VM, as it is all allocated on VM boot, and then ESX has not bothered to reclaim it as it does not need the memory for anything else - so there is no need for a reclaim operation and the memory is left assigned to the VM for better performance. What you'll see as you start to get closer to the limits of the available memory in your system is the host memory usage coming down more into line with the guest memory usages - but on the whole before getting to this point if there is a massive difference between the host memory and guest memory usage for a VM it would be worth considering dropping the amount of RAM allocated to a VM, as reclaiming memory from a VM has a performance impact.
Also these settings can get kind of confusing because the way ESX manages memory. Here's are some good things to read through...
Host Mem and Guest Mem % - http://www.vmware.com/community/thread.jspa?messageID=620581򗠥
Memory Resource Management in VMWare ESX Server - http://www.stanford.edu/~stinson/cs240/cs240_1/revs/esx.txt
The Role of Memory in ESX Server 3 - http://www.vmware.com/pdf/esx3_memory.pdf
http://www.vmware.com/community/message.jspa?messageID=517737
http://www.vmware.com/community/thread.jspa?threadID=62628&tstart=0
http://www.vmware.com/community/thread.jspa?messageID=620581򗠥
http://www.vmware.com/community/thread.jspa?messageID=607837򔙝
http://www.vmware.com/community/thread.jspa?messageID=618634򗂊