From: Olaf Hering <olaf@aepfle.de>
To: Tim Deegan <tim@xen.org>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
George Dunlap <george.dunlap@citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [PATCH 4 of 4] xenpaging: initial libxl support
Date: Thu, 12 Jan 2012 15:12:35 +0100 [thread overview]
Message-ID: <20120112141235.GB8324@aepfle.de> (raw)
In-Reply-To: <20120111165855.GE81891@ocelot.phlegethon.org>
On Wed, Jan 11, Tim Deegan wrote:
> At 17:38 +0100 on 11 Jan (1326303483), Olaf Hering wrote:
> > On Wed, Jan 11, Tim Deegan wrote:
> >
> > > > Isnt that up to the host admin to decide where to take the memory from?
> > > > So if its acceptable to swap parts of a VM (independent from what the
> > > > guest OS thinks it has), so be it.
> > >
> > > Why? The _only_ reason I can imagine for wanting to use paging is when
> > > the balloon driver can't or won't do its job. There's no advantage to
> > > paging except that you can always force it to happen.
> >
> > Isnt that the whole point of paging, to make it happen at will without
> > the guest (or the application at process level) noticing it?
>
> Yes, but that's a _bad_ thing. :) If the guest can co-operate, you'll
> get way better eviction choices, better performance, and better
> accounting (since the I/O is done by the guest to guest-owned disk).
Hmm, I think its slightly like an 'rm -rf *' accident: bad, but allowed.
> That's why I think both mechanisms should be visible up to the libxl
> layer, but xl itself should just implement the one sensible policy:
> try ballooning first, then page if that fails.
So you are saying xl should take care of an improved mem-set command?
Perhaps by tweaking memory/target first, monitoring something like
tot_pages, and if memory/target isnt reached after some time, tweak
memory/target-tot_pages so that xenpaging takes care of the rest?
Olaf
next prev parent reply other threads:[~2012-01-12 14:12 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 14:45 [PATCH 0 of 4] libxl: initial support for xenpaging Olaf Hering
2011-11-02 14:45 ` [PATCH 1 of 4] xenpaging: use guests tot_pages as working target Olaf Hering
2011-11-02 14:45 ` [PATCH 2 of 4] xenpaging: watch the guests memory/target-tot_pages xenstore value Olaf Hering
2011-11-02 14:45 ` [PATCH 3 of 4] xenpaging: add cmdline interface for pager Olaf Hering
2011-11-02 14:45 ` [PATCH 4 of 4] xenpaging: initial libxl support Olaf Hering
2011-11-07 11:02 ` Stefano Stabellini
2011-11-07 12:55 ` Olaf Hering
2011-11-07 13:28 ` Stefano Stabellini
2011-11-20 18:29 ` Olaf Hering
2011-11-21 10:53 ` Stefano Stabellini
2011-11-21 15:13 ` Olaf Hering
2011-11-21 16:40 ` George Dunlap
2011-11-22 9:05 ` Ian Campbell
2011-11-22 10:58 ` Stefano Stabellini
2011-11-22 11:22 ` Olaf Hering
2011-11-22 15:48 ` George Dunlap
2012-01-09 19:21 ` Olaf Hering
2012-01-10 12:02 ` George Dunlap
2012-01-11 14:58 ` Olaf Hering
2012-01-11 16:10 ` Tim Deegan
2012-01-11 16:38 ` Olaf Hering
2012-01-11 16:58 ` Tim Deegan
2012-01-12 14:12 ` Olaf Hering [this message]
2012-01-13 11:00 ` Ian Campbell
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=20120112141235.GB8324@aepfle.de \
--to=olaf@aepfle.de \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=george.dunlap@citrix.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.