From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v4 21/21] xl: vNUMA support Date: Tue, 24 Feb 2015 16:15:17 +0000 Message-ID: <1424794515.4742.117.camel@citrix.com> References: <1422011632-22018-1-git-send-email-wei.liu2@citrix.com> <1422011632-22018-22-git-send-email-wei.liu2@citrix.com> <1422463565.5187.68.camel@citrix.com> <20150128225202.GG14935@zion.uk.xensource.com> <1422529839.30641.42.camel@citrix.com> <20150129174651.GI20229@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0549431884997681780==" Return-path: In-Reply-To: <20150129174651.GI20229@zion.uk.xensource.com> Content-Language: en-US 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: Ian Campbell , Andrew Cooper , "xen-devel@lists.xen.org" , "JBeulich@suse.com" , "ufimtseva@gmail.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============0549431884997681780== Content-Language: en-US Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7Hemf7Un4FssEydgJNnk" --=-7Hemf7Un4FssEydgJNnk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2015-01-29 at 17:46 +0000, Wei Liu wrote: > On Thu, Jan 29, 2015 at 11:10:39AM +0000, Ian Campbell wrote: > > On Wed, 2015-01-28 at 22:52 +0000, Wei Liu wrote: Hey, While reviewing v5, I realized I always wanted to, but never replied to this email! :-( Very quickly... > > > > > +For example, for a guest with 2 virtual nodes, user can specify: > > > > > + > > > > > + vnuma_vdistance =3D [ [10, 20], [20, 10] ] > > > >=20 > > > > Any guidance on how a user should choose these numbers? > > > >=20 > > >=20 > > > I think using the number from numactl is good enough. > >=20 > > Worth mentioning in the docs I think. > >=20 > > > > Do we support a mode where something figures this out based on the > > > > underlying distances between the pnode to which a vnode is assigned= ? > > > >=20 > > >=20 > > > Dario is working on that. > >=20 > > I thought he was working on automatic numa placement (i.e. figuring out > > the best set of pnodes to map the vnodes to), whereas what I was > > suggesting was that given the user has specified a vnode->pnode mapping > > it should be possible to construct a distances table pretty trivially > > from that. Is Dario working on that too? > >=20 >=20 > Right. That's trivial inside libxl. >=20 > What I meant was Dario was about to touch all these automation stuffs it > might be trivial for him to just do it all in one go. Of course if he > has not done that I can add the logic myself. > Yes, Ian, that is a valid way of coming up with a default set of distance values. And as Wei says, our agreement is that he would make things work when all the parameters are explicitly specified. Then, I'll take care of the automation required to deal with situations where some parameters are missing. That include triggering automatic placement, in a way that it properly accounts for vNUMA, and other things, among which default values for distances, if nothing is specified. Regards, Dario --=-7Hemf7Un4FssEydgJNnk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlTso5MACgkQk4XaBE3IOsTldwCfQnypH5o3yu4wRYIZM1DxNQ6H v20AoJbWLXaV7PcQqThj3H/o7N8L2qeC =qc53 -----END PGP SIGNATURE----- --=-7Hemf7Un4FssEydgJNnk-- --===============0549431884997681780== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============0549431884997681780==--