Hi, all! On Thursday, 12 August 2010 22:05:34 -0300, Daniel Bareiro wrote: > Keeping the kernel I had compiled and installing the qemu-kvm package > in Backports, now KSM is working: > > # cat /sys/kernel/mm/ksm/pages_sharing > 181406 Looking at the statistics of the values obtained running 15 virtual machines totaling 10.7 GB on a 4 GB VMHost, I get the following, which is a very interesting memory savings: # for ii in /sys/kernel/mm/ksm/* ; do echo -n "$ii: " ; cat $ii ; done /sys/kernel/mm/ksm/full_scans: 4114 /sys/kernel/mm/ksm/max_kernel_pages: 253500 /sys/kernel/mm/ksm/pages_shared: 67064 /sys/kernel/mm/ksm/pages_sharing: 510990 /sys/kernel/mm/ksm/pages_to_scan: 100 /sys/kernel/mm/ksm/pages_unshared: 448079 /sys/kernel/mm/ksm/pages_volatile: 13595 /sys/kernel/mm/ksm/run: 1 /sys/kernel/mm/ksm/sleep_millisecs: 20 # free total used free shared buffers cached Mem: 4056468 2578728 1477740 0 3736 62156 -/+ buffers/cache: 2512836 1543632 Swap: 497848 25972 471876 Some recommendation about tunning of KSM? I've no very clear about the difference between page_shared and page_sharing. Somebody could clarify it? Thanks for your reply. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598
Attachment:
signature.asc
Description: Digital signature