From: Wei Liu Subject: Re: [PATCH 00/19] Virtual NUMA for PV and HVM Date: Fri, 21 Nov 2014 16:55:55 +0000 Message-ID: <20141121165555.GA17120@zion.uk.xensource.com> References: <1416582421-10789-1-git-send-email-wei.liu2@citrix.com> <546F758E0200007800049E30@mail.emea.novell.com> <20141121163531.GA16712@zion.uk.xensource.com> <546F796F0200007800049E5D@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <546F796F0200007800049E5D@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, Nov 21, 2014 at 04:42:07PM +0000, Jan Beulich wrote: > >>> On 21.11.14 at 17:35, wrote: > > On Fri, Nov 21, 2014 at 04:25:34PM +0000, Jan Beulich wrote: > >> >>> On 21.11.14 at 16:06, wrote: > >> > vnuma_vdistances = [10, 30] # optional > >> > >> Being optional, would the real distances be used instead? And what > > > > Default value of [10, 20] will be used. > > That's bad. Would it be very difficult to use the host values? > It's easy. I will do that in next iteration. > >> meaning does this apparently one dimensional array here have for > >> the actually two dimensional SLIT? (Read: An example with more > >> than two nodes would be useful.) > >> > > > > The first element of [X, Y] is local distance, the second element is > > remote distance. > > > > For a 4 node system: > > > > 0 1 2 3 > > 0 X Y Y Y > > 1 Y X Y Y > > 2 Y Y X Y > > 3 Y Y Y X > > That may match up with how most current NUMA systems look like, > but do we really want to bake in an oversimplification like this? > I want to clarify this is only *xl* option, libxl interface is capable of specifying every single element in SLIT. Nonetheless I'm all for having a configuration option that would meet both present and future need. Do you have anything in mind? Are you suggesting we should allow specifying every element in SLIT in xl? Wei. > Jan