From: Ian Campbell Subject: Re: RFC: Still TODO for 4.2? xl domain numa memory allocation vs xm/xend Date: Fri, 20 Jan 2012 16:39:50 +0000 Message-ID: <1327077590.30054.71.camel@zakaz.uk.xensource.com> References: <1325694562.25206.304.camel@zakaz.uk.xensource.com> <20120119211430.GT12984@reaktio.net> <1327046368.21391.29.camel@dagon.hellion.org.uk> <1327058562.17599.134.camel@zakaz.uk.xensource.com> <1327059874.2337.38.camel@Abyss> <1327060480.30054.15.camel@zakaz.uk.xensource.com> <1327061083.2337.42.camel@Abyss> <1327062788.30054.31.camel@zakaz.uk.xensource.com> <1327065091.30054.43.camel@zakaz.uk.xensource.com> <1327071976.30054.55.camel@zakaz.uk.xensource.com> <1327075340.2337.50.camel@Abyss> <1327076495.30054.63.camel@zakaz.uk.xensource.com> <1327076924.30054.65.camel@zakaz.uk.xensource.com> <1327077068.23358.97.camel@elijah> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1327077068.23358.97.camel@elijah> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: xen-devel , "Keir (Xen.org)" , Stefano Stabellini , George Dunlap , Ian Jackson , Juergen Gross , "Tim (Xen.org)" , Dario Faggioli , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Fri, 2012-01-20 at 16:31 +0000, George Dunlap wrote: > On Fri, 2012-01-20 at 16:28 +0000, Ian Campbell wrote: > > On Fri, 2012-01-20 at 16:21 +0000, Ian Campbell wrote: > > > cpupools don't seem to do this, I don't know if that is expected or not. > > > > Right, so cpupools do not appear to set the vcpu affinity, at least not > > at the level where it effects memory allocation. However both > > pool="Pool-node0" cpus="0-7" > > and > > pool="Pool-node1" cpus="8-15" > > work as expected on a system with 8 cpus per node. > > > > Should something be doing this pinning automatically? > > It seems like it would be useful; But then we have the issue of, if a vm > was pinned to cpus 0-3 of Pool-node0, and you move it to Pool-node1, > what do you do? I've no idea, it's not clear to me now what the semantics of cpupools are if they don't restrict the VCPU affinity like I previously assumed. I'm actually struggling to find what libxl does with the poolid or poolname parameters in libxl_domain_create_info other than write the latter to /local/domain//pool_name. I must be missing something. Ian.