Actions
Feature #296
closedEnable kernel samepage merging on KVM hosts
Start date:
Due date:
% Done:
0%
Tags:
Salt
URL:
Description
KSM allows the kernel to deduplicate RAM regions. Especially useful on KVM-Hosts.
Use an init script like the one found at https://github.com/dnaeon/ksm-init.d-debian/blob/master/ksm
It basically does this:
echo 1 > /sys/kernel/mm/ksm/run
Files
Updated by Alexander Werner about 10 years ago
- File ksm_stat.sh ksm_stat.sh added
Enabled it for the moment on gru in /etc/rc.local
The attached script is usefull to get some readable statistics.
Updated by Alexander Werner about 10 years ago
- Install
sysfsutils
- Edit
/etc/sysfs.conf
:kernel/mm/ksm/run = 1 kernel/mm/ksm/pages_to_scan = 20000
- Add sysfsutils to be started at boot time:
update-rc.d sysfsutils defaults
Updated by Alexander Werner over 9 years ago
- Status changed from New to Closed
Added to salt, enabled on grisu.
Actions