From: Olaf Hering <olaf@aepfle.de>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: xen-devel@lists.xensource.com,
Ian Campbell <Ian.Campbell@citrix.com>,
Konrad Wilk <konrad.wilk@oracle.com>,
Lars Kurth <lars.kurth.xen@gmail.com>,
Kurt Hackel <kurt.hackel@oracle.com>, Tim Deegan <tim@xen.org>,
Andres Lagar-Cavilla <andres@lagarcavilla.org>
Subject: Re: Pointed questions re Xen memory overcommit
Date: Fri, 24 Feb 2012 22:42:29 +0100 [thread overview]
Message-ID: <20120224214228.GA23473@aepfle.de> (raw)
In-Reply-To: <f8264e57-9326-4794-8025-db8ff0f07380@default>
On Fri, Feb 24, Dan Magenheimer wrote:
> With the Xen memory overcommit (Satori and xenpaging) work getting
> closer to the real world (and indeed one gating factor for a major
> Xen release), I wonder if it is time to ask some very pointed
> questions:
A few comments from me below. I just learned about Satori now, its not
clear to me how it is related to memory overcommit.
To me memory overcommit means swapping, which is what xenpaging does:
turn the whole guest gfn range into some sort of virtual memory,
transparent to the guest.
> 1) How is the capability and implementation similar or different
> from VMware's? And specifically I'm asking for hard information
> relating to:
>
> http://lwn.net/Articles/309155/
> http://lwn.net/Articles/330589/
KSM looks more like page sharing which also Xen can do to some degree.
I'm not familiar with the sharing code in Xen or Linux Kernel.
> 2) Assuming no legal issues, how is Xen memory overcommit different
> or better than VMware's, which is known to have lots of issues
> in the real world, such that few customers (outside of a handful
> of domains such as VDI) enable it? Or is this effort largely to
> remove an item from the VMware sales team's differentiation list?
> And a comparison vs Hyper-V and KVM would be interesting also.
I have no idea what VMware provides to fill the memory overcommit
checkbox.
The Win8 preview I tested recently offers some sort of memory handling
for guests. So far I have not looked into that feature.
Since KVM guests are ordinary processes AFAIK they are most likely
victims of the Linux kernel process swapping (unless KVM mlocks the
gfns?). So KVM gets memory overcommit in the way xenpaging does it for
free.
> 3) Is there new evidence that a host-based-policy-driven memory
> balancer works sufficiently well on one system, or for
> multiple hosts, or for a data center? It would be nice for
> all Xen developers/vendors to understand the intended customer
> (e.g. is it the desktop user running a handful of VMs running
> known workloads?)
xenpaging is the red emergency knob to free some host memory without
caring about the actual memory constraints within the paged guests.
Olaf
next prev parent reply other threads:[~2012-02-24 21:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 20:53 Pointed questions re Xen memory overcommit Dan Magenheimer
2012-02-24 21:42 ` Olaf Hering [this message]
2012-02-27 23:40 ` Dan Magenheimer
2012-02-28 13:54 ` George Dunlap
2012-02-28 21:32 ` Dan Magenheimer
2012-02-29 10:43 ` Olaf Hering
2012-02-29 17:26 ` Dan Magenheimer
2012-02-29 18:00 ` Andres Lagar-Cavilla
2012-02-29 18:31 ` Dan Magenheimer
2012-02-29 19:11 ` George Dunlap
2012-02-29 20:26 ` Dan Magenheimer
2012-03-01 16:08 ` George Dunlap
2012-03-01 20:34 ` Dan Magenheimer
2012-02-29 19:22 ` Olaf Hering
2012-02-29 20:30 ` Dan Magenheimer
2012-02-29 20:38 ` Olaf Hering
2012-02-27 19:51 ` Tim Deegan
2012-02-27 23:50 ` Dan Magenheimer
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=20120224214228.GA23473@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Campbell@citrix.com \
--cc=andres@lagarcavilla.org \
--cc=dan.magenheimer@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=kurt.hackel@oracle.com \
--cc=lars.kurth.xen@gmail.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xensource.com \
/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.