# apt-get install -y ksmtuned
# systemctl enable ksmtuned
# systemctl start ksmtuned
# systemctl enable --now ksm.service
# Configuration file for ksmtuned.
# How long ksmtuned should sleep between tuning adjustments
# KSM_MONITOR_INTERVAL=60
# Millisecond sleep between ksm scans for 16Gb server.
# Smaller servers sleep more, bigger sleep less.
# KSM_SLEEP_MSEC=10
# KSM_NPAGES_BOOST - is added to the `npages` value, when `free memory` is less than `thres`.
# KSM_NPAGES_BOOST=300
# KSM_NPAGES_DECAY - is the value given is subtracted to the `npages` value, when `free memory` is greater than `thres`.
# KSM_NPAGES_DECAY=-50
# KSM_NPAGES_MIN - is the lower limit for the `npages` value.
# KSM_NPAGES_MIN=64
# KSM_NPAGES_MAX - is the upper limit for the `npages` value.
# KSM_NPAGES_MAX=1250
# KSM_THRES_COEF - is the RAM percentage to be calculated in parameter `thres`.
# KSM_THRES_COEF=20
# KSM_THRES_CONST - If this is a low memory system, and the `thres` value is less than `KSM_THRES_CONST`, then reset `thres` value to `KSM_THRES_CONST` value.
# KSM_THRES_CONST=2048
# uncomment the following to enable ksmtuned debug information
# LOGFILE=/var/log/ksmtuned
# DEBUG=1
It has very high RAM value.
how i can increase RAM?It is not RAM, it's swap and it is not enough - only 8 GB for 768 GB of RAM, I would increase it tremendously (e.g. factor of 8).
Keep in mind that LXC does not support KSM per se, only QEMU does, because the memory is specially flagged as deduplicable. Please see the documentation.
If you mean increase RAM USAGE, see my post here https://forum.proxmox.com/posts/253653/how i can increase RAM?
We use essential cookies to make this site work, and optional cookies to enhance your experience.