From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 03 of 10 v3] xl: add more NUMA information to `xl info -n' Date: Fri, 06 Jul 2012 14:00:55 +0200 Message-ID: <1341576055.15708.10.camel@Abyss> References: <1341574673.32747.32.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3407175700305206605==" Return-path: In-Reply-To: <1341574673.32747.32.camel@zakaz.uk.xensource.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: Ian Campbell Cc: Andre Przywara , Stefano Stabellini , George Dunlap , Juergen Gross , Ian Jackson , "xen-devel@lists.xen.org" , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org --===============3407175700305206605== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-9LvxzOzLT+qUju9YaJEM" --=-9LvxzOzLT+qUju9YaJEM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2012-07-06 at 12:37 +0100, Ian Campbell wrote:=20 > > xl: add more NUMA information to `xl info -n' > >=20 > > So that the user knows how much memory there is on each node and > > how far they are from each others. > >=20 > > Signed-off-by: Dario Faggioli > > Acked-by: Ian Campbell >=20 > On my single node system this produces: > cpu_topology : > cpu: core socket node > 0: 0 0 0 > 1: 1 0 0 > 2: 2 0 0 > 3: 3 0 0 > numa_info : > node: memsize memfree distances > 0: 4608 3083 10 >=20 > Is "distances" here right?=20 > It looks the same here. While with two nodes it gives something like the below: 0: 1: 0: 10, 20 1: 20, 10 More important, forgetting about the '10' do you want me to suppress that part of the output if there's only one node? I did not think at it before, but it might make sense. Of course, I can also do this with a follow-up patch, just let me know. > I'd have expected only a single 0 (distance > from self)? >=20 Honestly, I've not looked at where it comes from... I think I've seen something similar in Linux as well (although I might be wrong). Do you want me to investigate? Thanks, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-9LvxzOzLT+qUju9YaJEM 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 v1.4.12 (GNU/Linux) iEYEABECAAYFAk/203gACgkQk4XaBE3IOsRlgQCeMXKAJ3v8Rr6SPRMtOf2gw88s g8cAn1UWSXWmGV7i45fh1ZjqwwXHPhtq =Inik -----END PGP SIGNATURE----- --=-9LvxzOzLT+qUju9YaJEM-- --===============3407175700305206605== 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 --===============3407175700305206605==--