-
Notifications
You must be signed in to change notification settings - Fork 384
collectors KSMCollector
Rob Smith edited this page Oct 29, 2012
·
11 revisions
This class collects 'Kernel Samepage Merging' statistics. KSM is a memory de-duplication feature of the Linux Kernel (2.6.32+).
It can be enabled, if compiled into your kernel, by echoing 1 to /sys/kernel/mm/ksm/run. You can find more information about KSM at http://www.linux-kvm.org/page/KSM.
- KSM built into your kernel. It does not have to be enabled, but the stats will be less than useful if it isn't:-)
- Generic Options
- ksm_path: location where KSM kernel data can be found
- enabled: Enable collecting these metrics
- byte_unit: Default numeric output(s)
servers.hostname.ksm.full_scans 123.0
servers.hostname.ksm.pages_shared 124.0
servers.hostname.ksm.pages_sharing 125.0
servers.hostname.ksm.pages_to_scan 100.0
servers.hostname.ksm.pages_unshared 126.0
servers.hostname.ksm.pages_volatile 127.0
servers.hostname.ksm.run 1.0
servers.hostname.ksm.sleep_millisecs 20.0