public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "DERUMIER, Alexandre" <Alexandre.DERUMIER@groupe-cyllene.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>,
	"dietmar@proxmox.com" <dietmar@proxmox.com>
Subject: Re: [pve-devel] auto ballooning && ksm thresholds both at 80%
Date: Mon, 3 Jan 2022 08:20:21 +0000	[thread overview]
Message-ID: <cf76b90ee67864df7586ccbddf0537046620a009.camel@groupe-cyllene.com> (raw)
In-Reply-To: <1568079353.1966.1640961060895@webmail.proxmox.com>

Le vendredi 31 décembre 2021 à 15:31 +0100, Dietmar Maurer a écrit :
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?


Hi Dietmar,
Happy new year ! (I'm currently in holiday this week, so, I check that next week)


I'll do more tests to be sure. (I don't use ballooning in production, but I'm a big user of ksm, I have some big nodes with something like 200GB ksm on 700GB servers).


My Idea behind this is to implement auto-balancing, vm migration, when memory threshold is between ksm && autoballoonig).

1) 80%: ksm
2) ~= 85-89% : auto balancing/migration
3) ~= 90% : auto ballonning
4) ~= 100% : swap



  reply	other threads:[~2022-01-03  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-31 14:31 Dietmar Maurer
2022-01-03  8:20 ` DERUMIER, Alexandre [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-30 10:47 DERUMIER, Alexandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf76b90ee67864df7586ccbddf0537046620a009.camel@groupe-cyllene.com \
    --to=alexandre.derumier@groupe-cyllene.com \
    --cc=dietmar@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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