Changes

Jump to: navigation, search

KSM (kernel same-page merging)

26 bytes added, 11:24, 18 July 2015
Enabling KSM on the hardware node
CONFIG_KSM=y
The KSM daemon is controlled by sysfs files in <code>/sys/kernel/mm/ksm/</code>, readable by all but writable only by root. On your hardware node, if KSM is not yet active, you'll see these default values:
<nowiki>[root@HN ~]# grep -H '' /sys/kernel/mm/ksm/*
/sys/kernel/mm/ksm/full_scans:0
[root@HN ~]# echo 1 > /sys/kernel/mm/ksm/run
You can copy the same command in <code>/etc/rc.local </code> on the HN to make it persistent at boot.
Verify that ''ksmd'' is running:
20
edits

Navigation menu