[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Overcommitting memory (was: Disable auto-balloon on ia64)



>>> On Mon, May 22, 2006 at  3:37 AM, in message
<de6a6f8a49c55295ad1cedb0718099ef@xxxxxxxxxxxx>, Keir Fraser
<Keir.Fraser@xxxxxxxxxxxx> 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?


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.