public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* Re: [pve-devel] auto ballooning && ksm thresholds both at 80%
@ 2021-12-31 14:31 Dietmar Maurer
  2022-01-03  8:20 ` DERUMIER, Alexandre
  0 siblings, 1 reply; 3+ messages in thread
From: Dietmar Maurer @ 2021-12-31 14:31 UTC (permalink / raw)
  To: Proxmox VE development discussion, DERUMIER, Alexandre

> Currently both are at 80%,
> that mean that ballooning is vm reducing memory fast, and ksm don't
> have time to run.
> 
> as ballooning is a lot more intrusive than ksm, I wonder if it couldn't
> be set to something like 90%.

That sounds reasonable to me, but can you see that theoretical effect when you run your test?




^ permalink raw reply	[flat|nested] 3+ messages in thread
* [pve-devel] auto ballooning && ksm thresholds both at 80%
@ 2021-12-30 10:47 DERUMIER, Alexandre
  0 siblings, 0 replies; 3+ messages in thread
From: DERUMIER, Alexandre @ 2021-12-30 10:47 UTC (permalink / raw)
  To: pve-devel

Hi,

I'm still working on ha manager ressource aware && loadbalancing (I
have some big improvements to send soon before review)

I currently looking at memory balancing doing a lot of tests,

and I wonder if auto-ballooning threshold shouldn't be a little bit
bigger than ksm.

Currently both are at 80%,
that mean that ballooning is vm reducing memory fast, and ksm don't
have time to run.

as ballooning is a lot more intrusive than ksm, I wonder if it couldn't
be set to something like 90%.

Like this, ksm can try to keep memory at 80%, and if memory is growing
too fast up to 90% or if ksm can't really deduplicate pages anymore, we
have ballooning in action.

What do you think about it ?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-03  8:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 14:31 [pve-devel] auto ballooning && ksm thresholds both at 80% Dietmar Maurer
2022-01-03  8:20 ` DERUMIER, Alexandre
  -- strict thread matches above, loose matches on Subject: below --
2021-12-30 10:47 DERUMIER, Alexandre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal