Hello,
I'm trying since 1 week and still didn't succeed to get ksm working.
I have 4 containers (6GB RAM each) based on Debian 9 (same as Proxmox is installed on) and on each there are jira and confluence installed. I enabled ksm but proxmox still tells me "KSM Sharing 0B".
Even the memory usage of the host was 95% of 16GB.
What could it be wrong?
Here are outputs, maybe you have some idea and could help me please?
Currently I'm using Proxmox Virtual Environment 5.4-7.
Best regards
Floh
I'm trying since 1 week and still didn't succeed to get ksm working.
I have 4 containers (6GB RAM each) based on Debian 9 (same as Proxmox is installed on) and on each there are jira and confluence installed. I enabled ksm but proxmox still tells me "KSM Sharing 0B".
Even the memory usage of the host was 95% of 16GB.
What could it be wrong?
Here are outputs, maybe you have some idea and could help me please?
Code:
root@bigboss:~# grep KSM /boot/config-`uname -r`
CONFIG_KSM=y
root@bigboss:~# grep -H '' /sys/kernel/mm/ksm/*
/sys/kernel/mm/ksm/full_scans:0
/sys/kernel/mm/ksm/max_page_sharing:256
/sys/kernel/mm/ksm/merge_across_nodes:1
/sys/kernel/mm/ksm/pages_shared:0
/sys/kernel/mm/ksm/pages_sharing:0
/sys/kernel/mm/ksm/pages_to_scan:1250
/sys/kernel/mm/ksm/pages_unshared:0
/sys/kernel/mm/ksm/pages_volatile:0
/sys/kernel/mm/ksm/run:1
/sys/kernel/mm/ksm/sleep_millisecs:10
/sys/kernel/mm/ksm/stable_node_chains:0
/sys/kernel/mm/ksm/stable_node_chains_prune_millisecs:2000
/sys/kernel/mm/ksm/stable_node_dups:0
/sys/kernel/mm/ksm/use_zero_pages:0
root@bigboss:~# ps aux | grep ksm
root 42 0.0 0.0 0 0 ? SN Jun28 0:00 [ksmd]
root 25408 0.0 0.0 12784 1028 pts/3 S+ 21:34 0:00 grep ksm
root@bigboss:~# systemctl status ksm.service
● ksm.service - Kernel Samepage Merging
Loaded: loaded (/lib/systemd/system/ksm.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2019-06-30 21:44:29 CEST; 17s ago
Process: 31202 ExecStop=/usr/sbin/ksmctl stop (code=exited, status=0/SUCCESS)
Process: 31209 ExecStart=/usr/sbin/ksmctl start (code=exited, status=0/SUCCESS)
Main PID: 31209 (code=exited, status=0/SUCCESS)
CPU: 1ms
Jun 30 21:44:29 bigboss systemd[1]: Starting Kernel Samepage Merging...
Jun 30 21:44:29 bigboss systemd[1]: Started Kernel Samepage Merging.
root@bigboss:~# free
total used free shared buff/cache available
Mem: 16425336 12704008 223728 139716 3497600 3239744
Swap: 3906556 2121588 1784968
Currently I'm using Proxmox Virtual Environment 5.4-7.
Best regards
Floh