currently analyzing how VMs’ reclamation work in production environment(primarily vSphere 6.7) to prevent service down time.
I’m reading the document:https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-vcenter-server-67-resource-management-guide.pdf
but still got some doubts that need to be clarified.
1. if a VM(allocated 16GB memory) is experiencing the memory ballooning of 6GB from ESXi, then what will the guest OS see its memory status? will the OS show that there’s at least 6GB memory “used” or something?
2. setting VM’s “sched.mem.maxmemctl” parameter to 0 meaning that ESXi can no longer balloon memory from that VM? is it logically a way to reserve memory for VM?
3. is there any parameters to set on the VM to prevent ESXi reclaim memory via swapping file? I don’t see related configurations in the document.
4. does the VM “memory reservation” function always occupy ESXi’s memory beforehand even that VM is not power on?