From: "Charles Coffing" <ccoffing@novell.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>,
Kevin Tian <kevin.tian@intel.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Alex Williamson <alex.williamson@hp.com>,
xen-ia64-devel <xen-ia64-devel@lists.xensource.com>
Subject: Overcommitting memory (was: Disable auto-balloon on ia64)
Date: Mon, 22 May 2006 09:12:27 -0600 [thread overview]
Message-ID: <44718139.D169.003C.0@novell.com> (raw)
In-Reply-To: <de6a6f8a49c55295ad1cedb0718099ef@cl.cam.ac.uk>
>>> On Mon, May 22, 2006 at 3:37 AM, in message
<de6a6f8a49c55295ad1cedb0718099ef@cl.cam.ac.uk>, Keir Fraser
<Keir.Fraser@cl.cam.ac.uk> wrote:
> On 22 May 2006, at 10:06, Tian, Kevin wrote:
>
>> We just need to reverse the whole change for ia64, since both
domU
>> and domVTI are insert a hole by this auto- balloon patch. Due to
>> missing balloon support on xen/ia64 as you said, both domU and
domVTI
>> failed due to this change.
>
> The first patch that you work around seems okay to me. That is, it
> seems correct that we make initial reservation exclude
'getDomainMemory
> headroom'. Shouldn't ia64 reserve extra memory as it needs it, as x86
> does, rather than up front?
>
> The second bit of your workaround, which applies to getDomainMemory:
> I'll wait and see if Charles has anything to say, but otherwise I'll
> remove the code that adds the extra slack entirely.
I think we have a more general problem here.
Xen, historically, hasn't overcommitted memory. But with shadow page
tables and HVM, that's not really true, is it?
Suppose I start up a 256 MB HVM domain running, say, a forking web
server. How much physical RAM does this take? Depends on the load,
doesn't it?
Unless I'm missing something, there is no "big enough" amount of slack,
if you care about reliability. With Yunhong's BUG -> domain_crash
patch, the box shouldn't crash, but the domain still might.
In shadow32.c, I see a FIXME comment that refers to "shadow flush".
Even if such things are done, can you put an upper limit on the runtime
memory overhead for an HVM domain?
next prev parent reply other threads:[~2006-05-22 15:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 9:06 [PATCH] Disable auto-balloon on ia64 Tian, Kevin
2006-05-22 9:37 ` Keir Fraser
2006-05-22 9:50 ` Keir Fraser
2006-05-22 15:12 ` Charles Coffing [this message]
2006-05-22 15:17 ` Overcommitting memory (was: Disable auto-balloon on ia64) Keir Fraser
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=44718139.D169.003C.0@novell.com \
--to=ccoffing@novell.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=alex.williamson@hp.com \
--cc=kevin.tian@intel.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-ia64-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.