pve-manager/PVE/API2/Ceph
Stefan Hanreich 808eb12f8c api: ceph: improve reporting of ceph OSD memory usage
Currently we are using the MemoryCurrent property of the OSD service
to determine the used memory of a Ceph OSD. This includes, among other
things, the memory used by buffers [1]. Since BlueFS uses buffered
I/O, this can lead to extremely high values shown in the UI.

Instead we are now reading the PSS value from the proc filesystem,
which should more accurately reflect the amount of memory currently
used by the Ceph OSD.

Aaron and I decided on PSS over RSS, since this should give a better
idea of used memory - particularly when using a large amount of OSDs
on one host, since the OSDs share some of the pages.

[1] https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Tested-by: Aaron Lauterer <a.lauterer@proxmox.com>
2023-09-04 13:53:35 +02:00
..
Cfg.pm api: ceph cfg: drop double definition of permission property for index 2023-03-20 15:34:46 +01:00
FS.pm api: cephfs: add 'fs-name' for cephfs storage 2021-11-11 17:52:08 +01:00
Makefile api: ceph: remove deprecrated Pools path 2023-06-21 09:21:04 +02:00
MDS.pm ceph: make all service name regexes the same 2020-03-04 15:38:09 +01:00
MGR.pm ceph: make all service name regexes the same 2020-03-04 15:38:09 +01:00
MON.pm api: ceph: mon create: remove superfluous verification call 2023-04-12 13:26:49 +02:00
OSD.pm api: ceph: improve reporting of ceph OSD memory usage 2023-09-04 13:53:35 +02:00
Pool.pm api: ceph: deprecate pools in favor of pool 2023-03-20 15:31:04 +01:00