From: Wei Liu Subject: Re: [PATCH 00/19] Virtual NUMA for PV and HVM Date: Fri, 21 Nov 2014 16:35:31 +0000 Message-ID: <20141121163531.GA16712@zion.uk.xensource.com> References: <1416582421-10789-1-git-send-email-wei.liu2@citrix.com> <546F758E0200007800049E30@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: <546F758E0200007800049E30@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:25:34PM +0000, Jan Beulich wrote: > >>> On 21.11.14 at 16:06, wrote: > > memory = 6000 > > vnuma_memory = [3000, 3000] > > So what would > > memory = 6000 > vnuma_memory = [3000, 2000] > > or > > memory = 6000 > vnuma_memory = [3000, 4000] > Those are not valid configurations at the moment. I have checks in libxl to mandate sum of vnuma_memory equals to memory (in fact, maxmem). > mean? Redundant specification of values is always a problem... > Would be possible to extend "memory" to allow for a vector as well > as a single value? > Yes, I think it can be done in backward compatible way. > > vnuma_vcpu_map = [0, 1] > > vnuma_pnode_map = [0, 0] > > vnuma_vdistances = [10, 30] # optional > > Being optional, would the real distances be used instead? And what Default value of [10, 20] will be used. > 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 Wei. > Jan