pve-manager/PVE/API2
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
..
Ceph api: ceph: improve reporting of ceph OSD memory usage 2023-09-04 13:53:35 +02:00
Cluster api: notification: make the 'mail-to-root' target visible to any user 2023-08-16 11:11:24 +02:00
Hardware makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
ACME.pm api: ACME revoke: do not abort if CA is just expired 2020-08-19 18:52:48 +02:00
ACMEAccount.pm api: acme: fix API index entry for challenge-schema 2021-05-05 15:52:49 +02:00
ACMEPlugin.pm ACME: add comment for implicit standalone plugin fallback 2020-05-07 13:53:05 +02:00
APT.pm api: apt: send notification via new notification module 2023-08-16 11:10:12 +02:00
Backup.pm api: backup: refactor backup permission check 2023-07-27 10:40:17 +02:00
Capabilities.pm api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
Ceph.pm api ceph: fix directory endpoint index 2023-06-21 09:32:49 +02:00
Certificates.pm fix #2771: relax cert API endpoints permissions 2020-06-17 14:00:43 +02:00
Cluster.pm api: prepare api handler module for notification config 2023-08-16 11:10:15 +02:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api: add resource map api endpoints for PCI and USB 2023-06-16 16:25:42 +02:00
Makefile makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
Network.pm api2: network: improve code readability 2023-06-07 17:04:29 +02:00
NodeConfig.pm api: fill in nodeconfig schema 2022-03-17 14:24:20 +01:00
Nodes.pm fix whitespaces 2023-08-04 13:54:34 +02:00
Pool.pm fix #474: api: allow transfer from container/vms 2023-08-14 12:26:28 +02:00
Replication.pm api: replication: send notifications via new notification module 2023-08-16 11:10:14 +02:00
ReplicationConfig.pm fix iteration over hash without keys 2020-11-20 15:34:27 +01:00
Services.pm api/services: add pvescheduler to the service list 2021-11-12 16:17:36 +01:00
Subscription.pm website: update external links to www.proxmox.com 2023-08-23 10:09:25 +02:00
Tasks.pm fix #4521: api/tasks: replace upid as filename for task log downloads 2023-02-09 17:18:52 +01:00
VZDump.pm vzdump: send notifications via new notification module 2023-08-16 11:10:10 +02:00