From: Ian Campbell Subject: Re: RFC: Still TODO for 4.2? xl domain numa memory allocation vs xm/xend Date: Fri, 20 Jan 2012 17:23:50 +0000 Message-ID: <1327080230.30054.77.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> <1327078723.2337.56.camel@Abyss> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1327078723.2337.56.camel@Abyss> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dario Faggioli Cc: xen-devel , "Keir (Xen.org)" , Stefano Stabellini , George Dunlap , Ian Jackson , "Tim (Xen.org)" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Fri, 2012-01-20 at 16:58 +0000, Dario Faggioli wrote: > On Fri, 2012-01-20 at 16:21 +0000, Ian Campbell wrote: > > With your affinity patches and the domain restricted to a single node > > via cpu affinity The Right Thing seems to happen. > > > > cpupools don't seem to do this, I don't know if that is expected or not. > > > Glad to know my patches are (well, could be!) useful for something! > About cpupool, I think if a domain is created as part of the pool, the > very same behaviour you achieve with my patches should be expected. > However, as George is correctly pointing out, that might turn out to be > quite bad if the domain is then moved! :-( It's no worse than starting a VM with CPUS pinned one way and then changing it -- you might end up with CPUS with pessimal access to the memory assigned to the guest. Ian.