From: Stefano Stabellini Subject: Re: RFC: Still TODO for 4.2? xl domain numa memory allocation vs xm/xend Date: Fri, 20 Jan 2012 10:55:07 +0000 Message-ID: References: <1325694562.25206.304.camel@zakaz.uk.xensource.com> <20120119211430.GT12984@reaktio.net> <1327046368.21391.29.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-2017795904-1327056645=:3150" Return-path: In-Reply-To: <1327046368.21391.29.camel@dagon.hellion.org.uk> Content-ID: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: xen-devel , "Keir (Xen.org)" , Stefano Stabellini , George Dunlap , "Tim (Xen.org)" , Dario Faggioli , Ian Jackson , Jan Beulich List-Id: xen-devel@lists.xenproject.org --8323329-2017795904-1327056645=:3150 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-ID: On Fri, 20 Jan 2012, Ian Campbell wrote: > On Thu, 2012-01-19 at 21:14 +0000, Pasi Kärkkäinen wrote: > > On Wed, Jan 04, 2012 at 04:29:22PM +0000, Ian Campbell wrote: > > > > > > Has anybody got anything else? I'm sure I've missed stuff. Are there any > > > must haves e.g. in the paging/sharing spaces? > > > > > > > Something that I just remembered: > > http://wiki.xen.org/xenwiki/Xen4.1 > > > > "NUMA-aware memory allocation for VMs. xl in Xen 4.1 will allocate > > equal amount of memory from every NUMA node for the VM. xm/xend > > allocates all the memory from the same NUMA node." > > I'm not that familiar with the NUMA support but my understanding was > that memory was allocated by libxc/the-hypervisor and not by the > toolstack and that the default was to allocate from the same numa nodes > as domains the processor's were pinned to i.e. if you pin the processors > appropriately the Right Thing just happens. Do you believe this is not > the case and/or not working right with xl? It seems that xend is retrieving numa info about the platform, see pyxc_numainfo, then using those info to pin vcpus to pcpus, see _setCPUAffinity. Still it seems to me more of an hack than the right way to solve the problem. --8323329-2017795904-1327056645=:3150 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --8323329-2017795904-1327056645=:3150--