Hi ,
If I have a VM with 4 GB of RAM and has 3.5 GB limit. If the VM needs the whole 4 GB will it swap it the 0.5 GB inside the box i.e OS will sawp it in C:\ if it windows or it will sawp it on the ESXI host disk ?
Thank you
This depends on this settings of virtual memory/pagefile configured inside VM guest OS.
The ballooning will start when the limit is reached to 3.5 GB and ESXI will tell your Guest OS to move rarely used / unimportant memory pages to local harddisk (swapfile inside the Guest), but if there is still not enough free memory, it will swap to ESXI host disk/datastore.
The paging/swap system of the guest OS in the VM still operates the same way. In Windows OS, that will be the pagefile.sys while in different flavours of Linux that will be the swap partition. The page faults/swaps will thus occur inside the virtual disk of the VM.
This depends on this settings of virtual memory/pagefile configured inside VM guest OS.
The ballooning will start when the limit is reached to 3.5 GB and ESXI will tell your Guest OS to move rarely used / unimportant memory pages to local harddisk (swapfile inside the Guest), but if there is still not enough free memory, it will swap to ESXI host disk/datastore.
What else factor drive to use ESXI disk for swaping ?
Before Swapping, ESXI will use other techniques such as Transparent pages sharing, ballooning, memory compression. Swaping is the last option is none of other technique seems to be working. Have a look for more details. http://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/perf-vsphere-memory_manag...
Thank a lot I know reclamation tech on vSphere , I meant will recalmation occure if there is memory connections on the host only ?
Yes, reclaimation techniques applies when there is memory contention at host.
Thank you
