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: Wed, 13 Jun 2007 17:12:47 +0200
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jun 2007 08:10:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070613150351.GA26843%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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060527)
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?

> BTW I'm just curious about who uses up xenheap.
> Do you have any ideas on it?
> Before it was p2m table, but now it is allocated from domheap
> by default.

I believe it's mostly used to handle the large memory zones, page table
entries etc. and CPU structures.

Cheers,
Jes

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