KSM

dignus

Renowned Member
Feb 12, 2009
155
11
83
Hi all,

On my currently 7 node cluster I see on all nodes that KSM sharing is 0. Is there a setting I have to make to enable KSM sharing? 90% of my VM's are the same OS, on the old platform (oVirt) we did see KSM sharing active.
 
KSM starts only if you use more than 50 % of your physical ram, so the questions are:

1. how much physical RAM do you have on your host?
2. how much RAM usage do you see on your host?
 
Ah, that part was unknown to me. However.. I have a 192 GB host, 53% RAM in use. KSM is not used. I'll put some more VM's on it to see what it does.
 
It's also important that only KVM/QEMU VMs are considered for KSM. Please correct me if i'm wrong, but as far as I know, KSM does not work for LXC/containers due to security considerations. Every test I run shows this (unfortunate) behavior.
 

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!