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-devel

[Xen-devel] [RFC][PATCH] domheap optimization for NUMA

To: Keir <Keir.Fraser@xxxxxxxxxxxx>, ryanh@xxxxxxxxxx
Subject: [Xen-devel] [RFC][PATCH] domheap optimization for NUMA
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Mon, 31 Mar 2008 18:40:15 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Mon, 31 Mar 2008 03:41:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
keir & harper,

You know, currently alloc_domheap_pages try to alloc mem from the node where
current LP sit, which is not always right. E.g some hypercall issued from dom0's
LP allocate memory for other domains.

This patch intend to resolve this issue on NUMA system by locating node from 
the 
served domain.

A new interface alloc_domheap_pages_on_node is introduced instead of changing 
current implementation, which is invasive.

There are still many places left for the new interface, but we can change them 
in a incremental way if needed.


Appreciate your comments.


-- 
best rgds,
edwin

Attachment: domheap_numa_2.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>