Re: [XenPPC] Out of memory issues with xen
On Fri, 2006-08-25 at 14:00 -0500, Hollis Blanchard wrote: > > > 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). > > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=744 This should be fixed with the large commit I just made. However, when I re-read the bug report I'm not sure what it's trying to say. Jimi, you opened it, can you verify it's fixed? -- Hollis Blanchard IBM Linux Technology Center ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
Re: [XenPPC] Out of memory issues with xen
Hollis Blanchard wrote: On Fri, 2006-08-25 at 15:16 -0400, Jimi Xenidis wrote: On Aug 25, 2006, at 3:00 PM, Hollis Blanchard wrote: 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. 64M is plenty. I've never suffered from any memory issues while building the tools. Maybe because they're using NFS they have more memory pressure. No. We have memory pressure even when we boot the the local disk. Please see http://lists.xensource.com/archives/html/xen-ppc-devel/2006-08/msg00330.html. You don't need to run a compiler in dom0. I don't... I have the same question on this one that Jimi already asked and that was already answered. In any case we need to run the compiler eventually the GPFS client and lots of other junk. Funny, I do so I can "$ make install-tools" in my Dom0. Hollis, how do you install your tools? Do the cross build yet? No, I haven't pursued that because I haven't had the time. I build on another PPC system, "make DESTDIR=foo install-tools", and copy foo/* to the victim. ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
Re: [XenPPC] Out of memory issues with xen
On Fri, 2006-08-25 at 15:16 -0400, Jimi Xenidis wrote: > On Aug 25, 2006, at 3:00 PM, Hollis Blanchard wrote: > > > 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. > > 64M is plenty. I've never suffered from any memory issues while > building the tools. Maybe because they're using NFS they have more memory pressure. > > > > You don't need to run a compiler in dom0. I don't... > > Funny, I do so I can "$ make install-tools" in my Dom0. > Hollis, how do you install your tools? > Do the cross build yet? No, I haven't pursued that because I haven't had the time. I build on another PPC system, "make DESTDIR=foo install-tools", and copy foo/* to the victim. -- Hollis Blanchard IBM Linux Technology Center ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
Re: [XenPPC] Out of memory issues with xen
On Aug 25, 2006, at 3:00 PM, Hollis Blanchard wrote: 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. 64M is plenty. I've never suffered from any memory issues while building the tools. You don't need to run a compiler in dom0. I don't... Funny, I do so I can "$ make install-tools" in my Dom0. Hollis, how do you install your tools? Do the cross build yet? -JX ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
Re: [XenPPC] Out of memory issues with xen
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). http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=744 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 Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
[XenPPC] Out of memory issues with xen
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. 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). 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. ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel