From: Daniel Bareiro <daniel-listas@gmx.net>
To: KVM General <kvm@vger.kernel.org>
Cc: dbareiro@gmx.net
Subject: Re: KSM with Debian GNU/Linux
Date: Sun, 15 Aug 2010 21:49:28 -0300 [thread overview]
Message-ID: <20100816004928.GH30120@defiant.freesoftware> (raw)
In-Reply-To: <20100813010534.GA24332@defiant.freesoftware>
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2010-08-16 0:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-09 10:16 KSM with Debian GNU/Linux Daniel Bareiro
2010-08-09 10:27 ` Michael Tokarev
2010-08-09 11:00 ` Nikola Ciprich
2010-08-09 11:30 ` Michael Tokarev
2010-08-09 14:39 ` Daniel Bareiro
2010-08-09 14:27 ` Daniel Bareiro
2010-08-09 15:28 ` Michael Tokarev
2010-08-13 1:05 ` Daniel Bareiro
2010-08-16 0:49 ` Daniel Bareiro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100816004928.GH30120@defiant.freesoftware \
--to=daniel-listas@gmx.net \
--cc=dbareiro@gmx.net \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox