Userspace KSM helper daemon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Oleksandr Natalenko 8f0349ec98 meson: avoid configure_file 3 days ago
.gitignore initial commit 4 years ago
COPYING this is GPLv3 code 4 years ago
README.md fix pf-kernel URL 5 months ago
meson.build meson: avoid configure_file 3 days ago
uksmd.c also catch SIGQUIT 1 year ago
uksmd.service Add new URL 5 months ago

README.md

uksmd

Description

Userspace KSM helper daemon.

Principles

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.

Building

Install procps-ng and libcap-ng, then use meson.

Configuration

The daemon requires zero configuration.

Distribution and Contribution

Distributed under terms and conditions of GNU GPL v3 (only).

Developers:

  • Oleksandr Natalenko <oleksandr@natalenko.name>