Feature Request: Enable KSM Option in Web UI

  • Thread starter Thread starter Ninjix
  • Start date Start date
N

Ninjix

Guest
I suspect this is already planned but I'll ask anyway just to make sure...

Please provide an option to enable KSM (echo 1 > /sys/kernel/mm/ksm/run) on host system boot for 2.6.32 kernel users.

BTW: Is this forum thread the correct place to submit PVE feature requests?

Thanks.
 
I suspect this is already planned but I'll ask anyway just to make sure...

Please provide an option to enable KSM (echo 1 > /sys/kernel/mm/ksm/run) on host system boot for 2.6.32 kernel users.

BTW: Is this forum thread the correct place to submit PVE feature requests?

Thanks.

KSM works on 2.6.32. and it is enabled by default. pls post your 'pveversion -v'

and yes, this is the correct place for feature requests and bug reports.
 
Here's my version info:

Code:
pve-manager: 1.5-1 (pve-manager/1.5/4561)
running kernel: 2.6.32-1-pve
pve-kernel-2.6.32-1-pve: 2.6.32-2
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-10
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-6
vncterm: 0.9-2
vzctl: 3.0.23-1pve4
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
After boot I run a quick check of KSM.

Code:
node-b:/root# cat /sys/kernel/mm/ksm/run
0
 
Just do:
Code:
echo "echo 1 > /sys/kernel/mm/ksm/run" >>/etc/rc.local
That should enable it on every boot.
 
Thanks, vlad. Tom stated that it should already be enabled so I want to make sure the behavior I'm encountering on my hosts is intended by design.
 
Thanks, dietmar! I had only run #apt-get upgrade and manually executed #apt-get install pve-kernel-2.6.32-1-pve after switching to pvetest repository. My fault for not reading the Proxmox_VE_Kernel wiki page closely enough.