KSM keeps disabling.

damo2929

Member
Mar 15, 2022
119
19
23
45
Oxfordshire, United Kingdom
HI all

I am trying to run KSM on the system but when I switch /sys/kernel/mm/ksm/run to 1 something changes it back to 0

I am assuming this is a PVE process if so how can I control it. so that KSM is left running all the time?
 
If you want KSM always active you could change #KSM_THRES_COEF=20 in /etc/ksmtuned.conf to KSM_THRES_COEF=99. That way KSM will kick in as soon as free RAM dops below 99% instead of below the default 20% of free RAM.
 
Last edited: