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][RFC]discontig memory support

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH][RFC]discontig memory support
From: Kouya SHIMURA <kouya@xxxxxxxxxxxxxx>
Date: Tue, 4 Apr 2006 11:18:00 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Apr 2006 19:18:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E7A57@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD8094E7A57@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Kevin,

Thanks for your comments.

Tian, Kevin writes:
 > If you can measure the TLB miss ratio of accessing vmemmap, that could 
 > help a lot to make right choice.

My guess is that the TLB miss ratio is quite worse because
vmemmap(frame_table) is usually accessed only by grant table operation
and the locality seems to be less.

I think if the overhead of TLB miss would be enough light, the
performance of VIRTUAL_MEM_MAP is better than SPARCEMEM. But SPARCMEM
is more extensible to implement other functions.

 > So last comment is, you may need to keep 
 > CONFIG_VIRTUAL_MEM_MAP option for a while, instead of merging 
 > code immediately. That can help add or remove a feature as an integrity, 
 > especially when direction is not clear. Also like Linux, it's better to add 
 > a 
 > check upon holes even when CONFIG_VIRTUAL_MEM_MAP is enabled, 
 > since overhead can be avoided on boxes without memory holes by using 
 > physical memmap.

Of course, I leave CONFIG_VIRTUAL_FRAME_MAP.

 > >[TODO]
 > >  * cleanup #ifdefs of CONFIG_VIRTUAL_MEM_MAP
It means that CONFIG_VIRTUAL_MEM_MAP originated in Linux are still
scattered in source code and I will do cleanup.

Thanks,
Kouya


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