Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

KSM (kernel same-page merging)

448 bytes added, 11:05, 18 July 2015
Tuning
[root@HN ~]# echo 50 > /sys/kernel/mm/ksm/sleep_millisecs:50
 
== Caveats ==
The ksmd daemon will take one or two minutes to start deduplicating memory and will require several minutes to reach stable state. During the boot phase your HN could start swapping if you have heavily overcommitted your RAM. You might want to use more aggressive settings (higher pages_to_scan, lower sleep_millisecs) at the beginning and then relax them after 10 mins or so. Others suggest to place your swap onto an SSD drive.
20
edits