From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: Re: NUMA and SMP Date: Sun, 14 Jan 2007 13:00:46 -0600 Message-ID: <20070114190046.GA16970@us.ibm.com> References: <280848580701140355l7ed6a198l21aa3b36fc8bddbd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <280848580701140355l7ed6a198l21aa3b36fc8bddbd@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Pilger Cc: xen-devel@lists.xensource.com, ryanh@us.ibm.com List-Id: xen-devel@lists.xenproject.org * David Pilger [2007-01-14 06:04]: > Hi all, > > 1. Does desktop computers, such as intel dual core really benefit from NUMA? Desktop computers with AMD chips which include a memory bus on the cpu have NUMA characteristics that can benefit from keeping memory close to the cpu. > 2. Does it have a real effect on the performance of Xen? I've [1]posted previously to the list on the performance benefit for NUMA systems and that there is no regression for non-NUMA systems. > 3. Can't we let the guest OS manage NUMA instead of Xen? what is the > difference? and why is it implemented in Xen? Xen owns all of the system memory and also controls the allocation of that memory and therefor determines what memory and which processors are in use for a guest. If we are to be able to create a guest with memory close to the physical processors in-use, then we must understand the topology of the system when we allocate memory for the guest. I'm not sure I understand entirely what you mean by letting the guest OS manage NUMA instead. However, the current Xen NUMA implementation does not export the domain's NUMA-ness to the guest kernel, but that is the next logical step. Not only allocate memory to the guest in a NUMA-aware fashion, but in the case that we are required to give memory to a guest from multiple NUMA nodes, to export the guest topology such that if the guest OS is NUMA-aware, it can make NUMA-aware decisions. 1. http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00958.html -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com