Userspace KSM helper daemon.
The daemon goes through the list of userspace tasks (once per 5 seconds) and hints them to apply MADV_MERGEABLE
to anonymous mappings for ksmd
kthread to merge memory pages with the same content. Only long-living tasks are hinted (those that were launched more than 10 seconds ago).
This requires pmadv_ksm()
syscall, which is available in pf-kernel.
Install procps-ng
and libcap-ng
, then use meson
.
The daemon requires zero configuration.
Distributed under terms and conditions of GNU GPL v3 (only).
Developers:
- Oleksandr Natalenko <oleksandr@natalenko.name>