From: Mark Williamson <maw48@cl.cam.ac.uk>
To: Rik van Riel <riel@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Mark Williamson <Mark.Williamson@cl.cam.ac.uk>,
xen-devel@lists.sourceforge.net,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Luke Kenneth Casson Leighton <lkcl@lkcl.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [Xen-devel] Re: [XEN] using shmfs for swapspace
Date: Wed, 26 Jan 2005 20:56:50 +0000 [thread overview]
Message-ID: <200501262056.50981.maw48@cl.cam.ac.uk> (raw)
In-Reply-To: <Pine.LNX.4.61.0501211634380.15744@chimarrao.boston.redhat.com>
> > - Pseudo faults:
>
> These are a problem, because they turn what would be a single
> pageout into a pageout, a pagein, and another pageout, in
> effect tripling the amount of IO that needs to be done.
The Disco VMM tackled this by detecting attempts to double-page using a
special virtual swap disk. Perhaps it would be possible to find some cleaner
way to avoid wasteful double-paging by adding some more hooks for virtualised
architectures...
In any case, for now Xen guests are not swapped onto disk storage at runtime -
they retain their physical memory reservation unless they alter it using the
balloon driver.
> Xen already has this. I wonder if it makes sense to
> consolidate the various balloon approaches into a single
> driver, and keep the amount of ballooned memory into
> account when reporting statistics in /proc/meminfo.
If multiple platforms want to do this, we could refactor the code so that the
core of the balloon driver can be used in multiple archs. We could have an
arch_release/request_memory() that the core balloon driver can call into to
actually return memory to the VMM.
> > When you want to introduce some interface in Xen, you probably want
> > something more powerful than these,
>
> Xen has a nice balloon driver, that can also be
> controlled from outside the guest domain.
The Xen control interface made this fairly trivial to implement. Again, the
balloon driver core could be plumbed into whatever the preferred virtual
machine control interface for the platform is (I don't know if / how other
platforms tackle this).
Cheers,
Mark
next prev parent reply other threads:[~2005-01-27 1:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-02 16:26 Luke Kenneth Casson Leighton
2005-01-03 18:31 ` Joseph Fannin
2005-01-03 20:53 ` Luke Kenneth Casson Leighton
2005-01-03 21:06 ` Alan Cox
2005-01-04 3:04 ` [Xen-devel] " Mark Williamson
2005-01-04 14:05 ` Rik van Riel
2005-01-06 11:38 ` Luke Kenneth Casson Leighton
2005-01-05 0:11 ` Arnd Bergmann
2005-01-21 21:37 ` Rik van Riel
2005-01-26 20:56 ` Mark Williamson [this message]
2005-01-27 10:33 ` Nuutti Kotivuori
2005-01-03 21:07 ` Adam Heath
2005-01-04 9:30 ` Luke Kenneth Casson Leighton
2005-01-04 14:06 ` Rik van Riel
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=200501262056.50981.maw48@cl.cam.ac.uk \
--to=maw48@cl.cam.ac.uk \
--cc=Mark.Williamson@cl.cam.ac.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lkcl@lkcl.net \
--cc=riel@redhat.com \
--cc=xen-devel@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®