[fedora-virt] F12 and ksm/ksmtuned: info required...

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Nov 24 10:53:46 UTC 2009


Hello,
F12 x86_64 with Qemu/KVM booted yesterday evening.
It has two guests with CentOS 5.3 x86_64 configured to auto-start and
now they are running...
I see this morning, some minutes ago:
[root at virtfed ~]# service ksm status
ksm is not running

My config:
[root at virtfed ~]# chkconfig --list|grep ksm
ksm            	0:off	1:off	2:on	3:on	4:on	5:on	6:off
ksmtuned       	0:off	1:off	2:on	3:on	4:on	5:on	6:off

[root at virtfed ~]# cat /sys/kernel/mm/ksm/pages_shared
3786

Then I start two other guests, both with CentOS 5.4 x86_64.
After a while:
 [root at virtfed ~]# cat /sys/kernel/mm/ksm/pages_shared
4752
[root at virtfed ~]# cat /sys/kernel/mm/ksm/pages_shared
5219
...
[root at virtfed ~]# cat /sys/kernel/mm/ksm/pages_shared
90895

and now, without any action at my side:
[root at virtfed ~]# service ksm status
ksm is running

Is this normal/expected?
Any deeper doc/link about ksm/ksmtuned logic?
Is it ksmtuned that spins ksm as it is needed? Any log file to check/configure?
I read https://fedoraproject.org/wiki/Features/KSM but probably I'm
missing something...

Thanks,
Gianluca




More information about the Fedora-virt mailing list