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] Re: NUMA and SMP

To: David Pilger <pilger.david@xxxxxxxxx>
Subject: [Xen-devel] Re: NUMA and SMP
From: Anthony Liguori <aliguori@xxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Jan 2007 11:21:37 -0600
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ryan Harper <ryanh@xxxxxxxxxx>
Delivery-date: Tue, 16 Jan 2007 01:38:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <280848580701140355l7ed6a198l21aa3b36fc8bddbd@xxxxxxxxxxxxxx>
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>
References: <280848580701140355l7ed6a198l21aa3b36fc8bddbd@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
David Pilger wrote:
Hi all,

1. Does desktop computers, such as intel dual core really benefit from NUMA?

No. NUMA standards Non-Uniform Memory Architecture. It's basically a system where you have nodes (which are essentially independent computers) that are connected via a high speed bus. Each node has it's own memory but through the magic of NUMA, every node can access the other nodes memory as if it's own. Most NUMA systems (if not all) are very high end servers.

2. Does it have a real effect on the performance of Xen?

On a NUMA system, absolutely. If you have a domain running on a particular node, you want to make sure that it's using memory that's in it's node if at all possible. Accessing memory on a local node is considerably faster than access memory on other nodes. Prior to Ryan's NUMA work, Xen would just blindly allocate memory to a domain without taking into account memory locality.

3. Can't we let the guest OS manage NUMA instead of Xen? what is the
difference? and why is it implemented in Xen?

If a guest OS spans multiple nodes, then you would want it to be NUMA aware. However, you always want Xen to, at least, be NUMA aware so that it allocates memory appropriately.

Regards,

Anthony Liguori

Thanks,
David.


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

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