moonpie/uksmd

( forked from bieszczaders/kernel-cachyos-addons )

Project ID: 81291

Description

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.

Configuration

The daemon requires zero configuration.

Distribution and Contribution

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

Developers:

CachyOS branding

The special version for CachyOS also includes uksmdstats .

Contributors:

Installation Instructions

sudo dnf copr enable bieszczaders/kernel-cachyos-addons

INSTALL REQUIRED PACKAGES

sudo dnf install libcap-ng libcap-ng-devel procps-ng procps-ng-devel

INSTALL UKSMD

sudo dnf install uksmd

ENABLE SERVICE

sudo systemctl enable uksmd.service

CHECKING THE CORRECT OPERATION OF THE UKSMD

uksmdstats

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download

* Total number of downloaded packages.