We want to know if we can't limit the balloon memory
on a Linux machine by tuning the value of -
Mem.CtlMaxPercent
for example is it possible to set 20% for Mem.CtlMaxPercent
instead the default of 65%?
The target is to give more available memory on RHEL machine, because the balloon memory on RHEL machine is around 30G and we want to decrease this value so RHEL machine will be with more available memory
reference - https://nerdblurt.com/vmware-memory-ballooning-sched-mem-maxmemctl-versus-mem-ctlmaxpercent/
Sched.Mem.MaxMemCtl: Maximum amount of memory reclaimed from the selected virtual machine by ballooning, in megabytes (MB). If the ESXi host needs to reclaim additional memory, it is forced to swap. Swapping is less desirable than ballooning. Default = -1 (Unlimited) (VM advanced Setting)
Mem.CtlMaxPercent: Limits the maximum amount of memory reclaimed from any virtual machine using the memory balloon driver (vmmemctl), based on a percentage of its configured memory size. Specify 0 to disable reclamation for all virtual machines. Default = 65% (Host advacned setting)*