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] SMP_HOST: Alloc vhpt from domheap

To: "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] SMP_HOST: Alloc vhpt from domheap
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Mon, 27 Feb 2006 12:56:11 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Feb 2006 04:56:32 +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: AcY5hpVrS2abaiR3TCK6LYZ0B5z7uQB0Op/w
Thread-topic: [Xen-ia64-devel] [PATCH] SMP_HOST: Alloc vhpt from domheap
>From: Alex Williamson 
>Sent: 2006年2月25日 5:09
>To: Xu, Anthony
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-ia64-devel] [PATCH] SMP_HOST: Alloc vhpt from domheap
>
>On Fri, 2006-02-24 at 13:58 -0700, Alex Williamson wrote:
>> On Fri, 2006-02-24 at 10:42 +0800, Xu, Anthony wrote:
>> > It's more reasonable to alloc vhpt from domheap, instead of xenheap.
>>
>> Anthony,
>>
>>    This looks to pretty significantly decrease the amount of memory
>> available to xen.  With it, I'm no longer able to boot a single 384MB
>> domU domain on a system with 1GB of memory (xminfo report 382MB
>> available).  Should the xenheap size be reduced, or are we fragmenting
>> memory somewhere with this?  Thanks,
>
>  I guess it's not as significant as I thought, w/o the patch xm info
>reports 398MB available, so I lost a granule of memory.  I still wonder
>if xenheap should be shrunk to account for this.  Thanks,
>

Total memory 1G, Dom0 uses 512M, Xenheap uses 64M, Firmware uses about 16M, the 
remainder is about 432M, It is very near with 398M, and maybe there is some 
memory lose, I'll look into it.

>I still wonder if xenheap should be shrunk to account for this.  Thanks,
Current xenheap is 64M, 16K blocks for task_struct and stack per VCPU are 
allocated from xenheap, in big machine, there are maybe 128 or 256 processors, 
in that case, 64M may be no big enough.

Since this patch has nothing to do with memory lose, Could you please check in 
this patch?  Otherwise dom0 can't boot on platform which has more than 4 
processors, when HOST-SMP is enabled.

Thanks,
Anthony

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