ksmctl

enables and tunes Kernel Samepage Merging

Install

All systems
curl cmd.cat/ksmctl.sh
Debian Debian
apt-get install ksmtuned
Ubuntu
apt-get install ksmtuned
image/svg+xml Kali Linux
apt-get install ksmtuned
Fedora
dnf install ksmtuned
Windows (WSL2)
sudo apt-get update sudo apt-get install ksmtuned
Raspbian
apt-get install ksmtuned

ksmtuned

enables and tunes Kernel Samepage Merging

This package ships the ksm and ksmtuned services to control Kernel Samepage Merging. KSM is a memory-saving de-duplication feature, that merges anonymous (private) pages (not pagecache ones). While the ksm service is only able to start and stop the KSM kernel thread, ksmtuned controls and tunes KSM according to the used memory of running qemu KVM instances.