[pve-devel] applied: [PATCH ksm-control-daemon] ksmtuned: use PSS instead of RSZ for caluculating memory usage
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Apr 8 17:36:21 CEST 2024
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 at 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.
More information about the pve-devel
mailing list