From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id B63C442E48;
	Tue, 11 Jul 2023 18:26:10 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 463B140A7D;
	Tue, 11 Jul 2023 18:26:10 +0200 (CEST)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id D9AF64003C
 for <dev@dpdk.org>; Tue, 11 Jul 2023 18:26:08 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 241265C00E7;
 Tue, 11 Jul 2023 12:26:08 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 11 Jul 2023 12:26:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1689092768; x=1689179168; bh=smWNvc4HBeyFpcJ4GVggutFd9t4yzD91fSo
 zSRRQ//o=; b=I3Lf+EFnCTYeDoujDPZrlFA4Xnn6VMvzG6FBHx5CfaLh1QTlLIg
 D1PYkkJu+Zdd5u4TCNUO23hmVMZf+PMS86mzfEG/tUTSuNdlWxZ419O1+M1EmNGl
 lh65NEzx51K2NZH987MgIm2qTZJwXneYvobfv/9bd5zdHhiyepNmon4tel4JvtyF
 nhoa/8f6R6ID1uPGUrrl9pSo5LU0A+VvSa8j5B5ls+fEsDUQKF3wChMRIiNYVWSq
 XjoduI/v0TEOAVTsruJu3Kg/cBMRclqPobVhPIT+Wj9LJ3Sj7r2gatzwE/lwDuWE
 ZuevqlQoXgHEt8WB+yJ2NVWewGykLIJ1ZKA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1689092768; x=1689179168; bh=smWNvc4HBeyFpcJ4GVggutFd9t4yzD91fSo
 zSRRQ//o=; b=bs0b9/ICP7f1FZsjVY7KM+VAi1DnNStCYqPwPbxQ+hemus7fTe4
 gT8fnSX8ho099kAWePgMDnhvWwE7fXfWSGLOUg2vq7motJjYwU6LE5TDebu0YceI
 JXaSlvYK+avGMWtlUp4Q/+yXpb87RVoCdgwzO6WEqmGbLA+a2y3rj9B33vZpN3tl
 KFUFt5EP6NU7UTnh9JA0krJFXfcOAuzBUp7GZMS1r1HUXU3R19Fpz8CzE6bG7C6h
 ZSMtATyX/N7qtjfUogFL5LOUqRj8GPcSP7ZXAgsUmFDH8Zx5koYEWGtf+BnvMqoC
 g1wvmK3nQqzmi8T4npie9FP795OjdCIHGKg==
X-ME-Sender: <xms:n4KtZMz4A0En-Y1syxRwS8fQJLqL2vF9M56tUdSB52hF_d3z-vdKpQ>
 <xme:n4KtZARTPswFqnBwowrCGm-L_htY2VAaawQOVVyut5g9b4hncuraUNz8NCJkPkzCx
 gQLbNKUq1XE4lFVog>
X-ME-Received: <xmr:n4KtZOVIL-zxZqyxK-axMW9uiF7x23A--QPG-FrHMe_OEpICGTgGj00DDRjCPAjGn0551gdFG7pNLmQoLRm6IfwPlQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfedtgddutddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei
 kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:n4KtZKgznxnDaT0B5GM-HBzatmH0Nh0mhcCc9IAIPoxDBwu5V7hTrQ>
 <xmx:n4KtZOCyVXwbT1fjR5nElYlcSmiTZBUDI6kXcJVBRWkfb8v7fbCn-g>
 <xmx:n4KtZLIFmZaCEF9OcnKCG43mY-4pqvLP8UeP8Nhk9B6atPEwv8-THg>
 <xmx:oIKtZJOvpbqliv5wvGefpwUVLbyj-FGDlQ2Yi7XfJvRnbe99NA_uVw>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 11 Jul 2023 12:26:07 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Vipin Varghese <vipin.varghese@amd.com>,
 Stephen Hemminger <stephen@networkplumber.org>
Cc: david.marchand@redhat.com, sivaprasad.tummala@amd.com, dev@dpdk.org
Subject: Re: [PATCH] usertools: enhance logic to display NUMA
Date: Tue, 11 Jul 2023 18:26:04 +0200
Message-ID: <3292577.7s5MMGUR32@thomas>
In-Reply-To: <20230711084206.25e7b530@hermes.local>
References: <20220326073207.489694-1-vipin.varghese@amd.com>
 <20230711084206.25e7b530@hermes.local>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

11/07/2023 17:42, Stephen Hemminger:
> On Sat, 26 Mar 2022 00:32:07 -0700
> Vipin Varghese <vipin.varghese@amd.com> wrote:
> 
> > +
> > +  output = " Socket " + str(socket).ljust(3, ' ') + " Numa " + str(numa).zfill(1) + " "
> > +  #output = " Socket " + str(socket).zfill(1) + " Numa " + str(numa).zfill(1) + " "
> > +  print(output)
> > +  print(format("-" * len(output)))
> > +
> > +  for index,coreSibling in enumerate(numa_map[keys]):
> > +      print ("Core " + str(index).ljust(3, ' ') + "    " + str(coreSibling))
> > +      #print ("Core " + str(index).zfill(3) + "    " + str(coreSibling))
> > +print("")
> > +
> 
> Git complains because you added new blank line at end of file.
> 
> One wording suggestion would be to use the term "Node" instead of "Numa" in the table.
> And fix heading alignment. The new headings don't look right.
> 
> For the case with only single socket, single node, some of the headings could be
> dropped as well.

I don't understand why we continue working on this script.
I thought we agreed it should be removed in favor of lstopo.