Hi,
I'm running a 2.6.32.7 kernel with KSM enabled (CONFIG_KSM=y), with
qemu-kvm 0.12.2 that has support for KSM (exec.c checks for
MADV_MERGEABLE)..
So I have KSM running, /sys/kernel/mm/ksm/run is at 1, and after a few
hours running a dozen of VMs, many of them running the same OS/base
image, I see no page being shared, KSM seems inactive.
Values are pretty much to their default value, and it seems KSM is
simply not working.. I see ksmd in the process list though, but here are
the sysfs values reported:
==> /sys/kernel/mm/ksm/full_scans <==
0
==> /sys/kernel/mm/ksm/max_kernel_pages <==
1027257
==> /sys/kernel/mm/ksm/pages_shared <==
0
==> /sys/kernel/mm/ksm/pages_sharing <==
0
==> /sys/kernel/mm/ksm/pages_to_scan <==
100
==> /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 <==
20
Any clues?
Cheers,
Gilou
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html