>>> On Mon, May 22, 2006 at 3:37 AM, in message
<de6a6f8a49c55295ad1cedb0718099ef@xxxxxxxxxxxx>, Keir Fraser
> On 22 May 2006, at 10:06, Tian, Kevin wrote:
>> We just need to reverse the whole change for ia64, since both
>> 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
>> 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
> 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,
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?
Xen-devel mailing list