[SOLVED] Configure ballooning threshhold?

leesteken

Distinguished Member
May 31, 2020
7,079
2,160
258
According to the manual:
Automatic Memory Allocation
When setting the minimum memory lower than memory, Proxmox VE will make sure that the minimum amount you specified is always available to the VM, and if RAM usage on the host is below 80%, will dynamically add memory to the guest up to the maximum memory specified.
Is it possible to increase that value of 80%? 20% sounds like relatively little memory, but as the memory of systems becomes larger, the absolute amount of memory becomes big enough to run several VMs in that space.

total used free shared buff/cache available Mem: 62 50 11 0 1 11
All my filesystems use ZFS, which is counted as used memory and not buff/cache (buff/cache is always below 2%) and it would be nice to dynamically distribute some of that 20% over VMs with ballooning. Ballooning becomes instantly useless now when the memory usage reaches 80%, while it would probably work fine up to 95% in my case (depending on how fast it can react to demand).
It would probably not be an issue if the ZFS cache was not counted as used but as buff/cache, but I guess that's not possible for an out-of-kernel filesystem?
 
Thanks for the heads up! Even if I prefer the good old KSM, ballooning has it's uses if it could be parametrized. The link you posted doesn't seem to load properly nor I can find mentions to "ballooning" in it. Maybe I'm seeing some older version?
 
The link you posted doesn't seem to load properly nor I can find mentions to "ballooning" in it. Maybe I'm seeing some older version?
The local Help does contain the information but the on-line documentation appears to be a little behind. The command also appears to not work yet (parameter unknown). I guess I'm too quick after seeing the change log of the updates today.