From: Avi Kivity <avi@redhat.com>
To: Sasha Levin <levinsasha928@gmail.com>
Cc: penberg@kernel.org, mingo@elte.hu, gorcunov@gmail.com,
asias.hejun@gmail.com, kvm@vger.kernel.org, ajsween@sandia.gov
Subject: Re: [PATCH] kvm tools: mmap guest kernel instead of reading it into memory
Date: Mon, 12 Dec 2011 20:08:42 +0200 [thread overview]
Message-ID: <4EE6432A.7010709@redhat.com> (raw)
In-Reply-To: <1323701258-17443-1-git-send-email-levinsasha928@gmail.com>
On 12/12/2011 04:47 PM, Sasha Levin wrote:
> This patch mmaps guest kernel into it's own memory slot instead of reading
> it into the memory.
>
> The advantages are:
> - Smaller memory footprint (same effect as KSM if running multiple guests)
> - Faster loading of larger kernels.
>
How many COW faults do you get when loading a kernel? Would be
interesting to try both smp and up guests.
Surprisingly, there is no tracepoint for that that I can see, but you
can probe do_wp_page() and count it.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-12-12 18:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 14:47 [PATCH] kvm tools: mmap guest kernel instead of reading it into memory Sasha Levin
2011-12-12 14:54 ` Pekka Enberg
2011-12-12 17:47 ` Sasha Levin
2011-12-12 16:40 ` Andrew Walrond
2011-12-12 15:59 ` Pekka Enberg
2011-12-12 18:14 ` Sasha Levin
2011-12-12 18:03 ` Avi Kivity
2011-12-12 17:18 ` Ingo Molnar
2011-12-12 18:08 ` Avi Kivity [this message]
2011-12-12 18:10 ` Avi Kivity
2011-12-13 6:46 ` Sasha Levin
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=4EE6432A.7010709@redhat.com \
--to=avi@redhat.com \
--cc=ajsween@sandia.gov \
--cc=asias.hejun@gmail.com \
--cc=gorcunov@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=levinsasha928@gmail.com \
--cc=mingo@elte.hu \
--cc=penberg@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.