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: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [patch] increase xen-heap-size based on nodes-shift
From: Jes Sorensen <jes@xxxxxxx>
Date: Thu, 14 Jun 2007 09:45:01 +0200
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 14 Jun 2007 00:43:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070613152646.GB26843%yamahata@xxxxxxxxxxxxx>
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> <20070613152646.GB26843%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060527)
Isaku Yamahata wrote:
> On Wed, Jun 13, 2007 at 05:12:47PM +0200, Jes Sorensen wrote:
>> 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.

I disagree, I think it's very important that the default value is safe,
so users don't end up with strange error messages that they do not
understand.

>> +#define XENHEAP_DEFAULT_MB     XENHEAP_DEFAULT_SIZE >> 20
> 
> It would be better to use parens.

I'm not really biased, both work for me :-)

Regards,
Jes

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