From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfedtgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jul 2023 12:26:07 -0400 (EDT) From: Thomas Monjalon To: Vipin Varghese , Stephen Hemminger 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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.