This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [XenPPC] Out of memory issues with xen

To: butrico@xxxxxxxxxxxxxx
Subject: Re: [XenPPC] Out of memory issues with xen
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Fri, 25 Aug 2006 14:00:41 -0500
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 25 Aug 2006 12:00:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44EF3EF9.8010304@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <44EF3EF9.8010304@xxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-08-25 at 14:18 -0400, Maria Butrico wrote:
> I should report to the list some of issues we have been having with 
> memory when using xen, it's dom0 and another partition. 
> The first problem is that by default dom0 only has 64M and that there is 
> no way to change this other that changing xen (the fix is easy enough).  
> 64M is too little to run the compiler and build the tools. 

You don't need to run a compiler in dom0. I don't...

> The second problem is that when we change xen to give dom0 128M dom0 we 
> do not have enough memory to make another partition even though the 
> machine has 512M.  This is a bug that Jimi is currently looking into (I 
> think).


It's assigned to me.

> So the current state of things for us developing an OS on xen is that we 
> boot with 128M, build and save the tools, then re-boot with 64M and run 
> the OS.  Of course, we do not have to rebuild the tools all the time 
> while we rebuild the OS quite a few times. 
> There is an effort, related to our larger project, to use an nfsroot for 
> xen.  This almost works, but in 64M run out of memory quickly.  There 
> being no paging space with this configuration when the kernel has no 
> more space it crashes. 
> Ideally we would like at least 128M on dom0 and the ability to make 
> another partition of 64M or 128M. 

I have a largish patch that I hope to check in soon that will allow the
management tools to specify the RMA size. Right now Xen allocates a 64MB
RMA without the knowledge of the tools, so then the tools try to
increase the size beyond that.

Setting dom0 size via a boot argument (and maybe defaulting to >64MB)
will follow from that later.

Hollis Blanchard
IBM Linux Technology Center

Xen-ppc-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>