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] Shortage of Xen heap problem

To: "Masaki Kanno" <kanno.masaki@xxxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] Shortage of Xen heap problem
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Thu, 22 Dec 2005 10:46:02 -0800
Delivery-date: Thu, 22 Dec 2005 18:49:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYG2UB8R0vvNEHNQEampvRzn4z1zgATdmfA
Thread-topic: [Xen-ia64-devel] Shortage of Xen heap problem
I am mistaken... it's been a long time since I looked at this code.
The VHPT has its own DTR.  So expanding the Xen heap size should
work.  However the Xen 4GB memory limit (which may make as little
as 1GB of populated memory visible) may make increasing the Xen heap
size difficult until this limit is fixed.

For now, you may just want to configure a smaller VHPT size (which is
I think what Tristan did when he ran 48 processors).  Except for
when doing performance analysis or running large applications,
a smaller VHPT may not make a noticable difference.

Dan

> -----Original Message-----
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Masaki Kanno
> Sent: Thursday, December 22, 2005 2:21 AM
> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-ia64-devel] Shortage of Xen heap problem
> 
> Hi,
> 
> Sorry, I forgot that. To map extended heap pages, assuming 64MB page, 
> I need 1 TR entry/4CPU. Is it OK to consume that much of TR 
> entries? or
> Should I use 256MB page ?
> 
> Best Regards,
>  Kan
> 
> Magenheimer, Dan (HP Labs Fort Collins) wrote:
> >Is it assumed that the entire Xen heap is mapped by
> >a TR?   If so, expanding the Xen heap size might
> >cause problems. 
> >
> >> -----Original Message-----
> >> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> >> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> >> Of Masaki Kanno
> >> Sent: Tuesday, December 20, 2005 1:11 AM
> >> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> >> Subject: [Xen-ia64-devel] Shortage of Xen heap problem
> >> 
> >> Hi,
> >> 
> >> When Xen SMP is supported, it becomes Xen heap shortage with 
> >> 3 CPUs or more.
> >> Because Xen heap is required 16MB per CPU for VHPT. 
> >> (Refer to attached file Xenheapshortage.txt)
> >> 
> >> I think that I will expand the size of Xen heap according to 
> >> the value of NR_CPUS. 
> >> I have the idea as follows.
> >> 
> >> #ifdef CONFIG_SMP
> >>   Xen heap size = 63MB(default) + 16MB * NR_CPUS;
> >> #else
> >>   Xen heap size = 63MB(default);
> >> #endif
> >> 
> >> Any idea and comment?
> >> 
> >> Best Regards,
> >>  Kan
> >> 
> >> 
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

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

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