monitor Kernel Samepage Merging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: monitor Kernel Samepage Merging
- From: Justin Cinkelj <justin.cinkelj@xxxxxxx>
- Date: Thu, 8 Jun 2017 10:41:14 +0200
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
I would like to start multiple VMs from the same base image, and monitor
how much memory is preserved by Kernel Samepage Merging. There are
metrics in /sys/kernel/mm/ksm/, but they are system-wide. I guess KSM
might merge memory from ordinary processes (those which are not VM) too,
if MADV_MERGEABLE is set - I have no idea if such apps actually exist.
Q1: So ideally I would be able to figure out, how much memory of some
process is merged, from something like /proc/PID/maps or similar. Is
anything similar available?
Q2: Is it possible to see how much memory of a process (or whole system)
has MADV_MERGEABLE set?
Thanks
Justin
[Index of Archives]
[KVM ARM]
[KVM ia64]
[KVM ppc]
[Virtualization Tools]
[Spice Development]
[Libvirt]
[Libvirt Users]
[Linux USB Devel]
[Linux Audio Users]
[Yosemite Questions]
[Linux Kernel]
[Linux SCSI]
[XFree86]