KSM keeps disabling.

damo2929

Member
Mar 15, 2022
106
15
23
44
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?
 
answered my own question
disabling ksmtunedwith below means that run is left alone once set.
systemctl disable ksmtuned
 
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!