I was experimenting with KSM. I wonder if it can work on PVE with lots of LXC containers running same apps. Eg.: lots of apaches. I've enabled ksmtuned with threshold of 50%, it seems to run=1, but pages_shared:0 means it's not sharing and full_scans:0 probably means it didn't even tried to find the dedupable pages...
Any ideas?
/sys/kernel/mm/ksm/stable_node_dups:0
/sys/kernel/mm/ksm/max_page_sharing:256
/sys/kernel/mm/ksm/pages_volatile:0
/sys/kernel/mm/ksm/stable_node_chains_prune_millisecs:2000
/sys/kernel/mm/ksm/merge_across_nodes:1
/sys/kernel/mm/ksm/pages_unshared:0
/sys/kernel/mm/ksm/stable_node_chains:0
/sys/kernel/mm/ksm/pages_shared:0
/sys/kernel/mm/ksm/use_zero_pages:0
/sys/kernel/mm/ksm/pages_to_scan:1250
/sys/kernel/mm/ksm/sleep_millisecs:22
/sys/kernel/mm/ksm/run:1
/sys/kernel/mm/ksm/full_scans:0
/sys/kernel/mm/ksm/pages_sharing:0
Any ideas?
/sys/kernel/mm/ksm/stable_node_dups:0
/sys/kernel/mm/ksm/max_page_sharing:256
/sys/kernel/mm/ksm/pages_volatile:0
/sys/kernel/mm/ksm/stable_node_chains_prune_millisecs:2000
/sys/kernel/mm/ksm/merge_across_nodes:1
/sys/kernel/mm/ksm/pages_unshared:0
/sys/kernel/mm/ksm/stable_node_chains:0
/sys/kernel/mm/ksm/pages_shared:0
/sys/kernel/mm/ksm/use_zero_pages:0
/sys/kernel/mm/ksm/pages_to_scan:1250
/sys/kernel/mm/ksm/sleep_millisecs:22
/sys/kernel/mm/ksm/run:1
/sys/kernel/mm/ksm/full_scans:0
/sys/kernel/mm/ksm/pages_sharing:0