From: "Jan Beulich" Subject: Re: [PATCH 00/19] Virtual NUMA for PV and HVM Date: Fri, 21 Nov 2014 16:42:07 +0000 Message-ID: <546F796F0200007800049E5D@mail.emea.novell.com> References: <1416582421-10789-1-git-send-email-wei.liu2@citrix.com> <546F758E0200007800049E30@mail.emea.novell.com> <20141121163531.GA16712@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141121163531.GA16712@zion.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> 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? >> 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? Jan