public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Stefan Lendl <s.lendl@proxmox.com>
Subject: [pve-devel] applied: [PATCH ksm-control-daemon] ksmtuned: use PSS instead of RSZ for caluculating memory usage
Date: Mon, 8 Apr 2024 17:36:21 +0200	[thread overview]
Message-ID: <e1bc5173-d4dd-4361-955d-ebf8c540cc0b@proxmox.com> (raw)
In-Reply-To: <20240408132552.293049-2-s.lendl@proxmox.com>

Am 08/04/2024 um 15:25 schrieb Stefan Lendl:
> PSS properly accounts for memory usage of shared libraries and is
> therefore better suited when summing up memory usage of multiple
> processes.
> 
> Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
> ---
>  debian/patches/series                      |  1 +
>  debian/patches/use-pss-instead-of-rsz.diff | 11 +++++++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 debian/patches/use-pss-instead-of-rsz.diff
> 
>

applied, thanks!

I made a follow-up that introduced a `KSM_PS_METRIC` variable which can
be set in `/etc/ksmtuned.conf` to override the metric to something else,
like `rsz` (resident set size) – if e.g. it turns out that for some setups
the PSS one is rather slow.




  reply	other threads:[~2024-04-08 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 13:25 [pve-devel] " Stefan Lendl
2024-04-08 15:36 ` Thomas Lamprecht [this message]
     [not found] ` <bbfc1739-4324-4795-9c97-dc069821c83e@web.de>
2024-04-17 15:00   ` Thomas Lamprecht

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=e1bc5173-d4dd-4361-955d-ebf8c540cc0b@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=s.lendl@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