WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [patch] increase xen-heap-size based on nodes-shift

To: Jes Sorensen <jes@xxxxxxx>
Subject: Re: [Xen-ia64-devel] [patch] increase xen-heap-size based on nodes-shift
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 14 Jun 2007 00:26:46 +0900
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jun 2007 08:24:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4670096F.6020008@xxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <466FF49D.3000400@xxxxxxx> <20070613150351.GA26843%yamahata@xxxxxxxxxxxxx> <4670096F.6020008@xxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Wed, Jun 13, 2007 at 05:12:47PM +0200, Jes Sorensen wrote:
> Isaku Yamahata wrote:
> > On Wed, Jun 13, 2007 at 03:43:57PM +0200, Jes Sorensen wrote:
> 
> >> For the bigger systems we need a slightly bigger heap or the heap
> >> will overflow. Unfortunately there is no easy way to determine the
> >> size dynamically this early in the boot process before the nodes have
> >> been discovered.
> > 
> > Should we introduce xenheap_megabytes boot parameter
> > like x86, powerpc instead of changing default value?
> 
> We could do that, but I think we should do it on top of my patch. Ie.
> I think it's better to have a too large heap per default and then let
> the users reduce it rather than the other way round. What do you think?

The default value won't matter so much as long as xenheap_megabytes option
is introduced, I think.


>+#define XENHEAP_DEFAULT_MB     XENHEAP_DEFAULT_SIZE >> 20

It would be better to use parens.
-- 
yamahata

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