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 B555042EA9; Tue, 18 Jul 2023 12:37:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 44F2B410D3; Tue, 18 Jul 2023 12:37:57 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2073.outbound.protection.outlook.com [40.107.212.73]) by mails.dpdk.org (Postfix) with ESMTP id 83EFE40A84 for ; Tue, 18 Jul 2023 12:37:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i52U/CKi2cP2Ljd+zZiWfKnErEGZaqt71gsDJ+k4RfF8YT4zktvvmnrTkAGd9+3qTZPwf53nsURY1WQDmpRcSps6V5KKNCWtaDJqEXCX6agIRJbk/EFWVX+BRmm1EOn9aO3zn7ekDKQkQkMrM56PrGP8acUOLl6iLobCKcZXb9UjshNl0PBSGDrST9gH/joRgf4nEeX9FUvqqAeAXiEP8O9mmgBGDt2sX99m2/GzbPWWLocu7lb7BumnerkVtZzismyteRNvrzf3SLzEkBIaJ92WIT7zoOpWzn3Ku6oWHLipoxw8pvM7o7um9zjHmB+J2IgMP+195VhgvmhGDLyztw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8oZtgS758aKn1jCkkAggMTADSKVFF0QRCa7AMjfM2sM=; b=TpyeSoRPEaz+il4hoAV6uPKpgFkyjvuq898uTeN+AbJR9P8GY87YGsgqnTzFROl1X9guc4RErUGR94LjQlHfq6gbcI4B0p22Eb3lKJBXFWH4sgll3+fAs50mcVArOrnlQ2QcFiP+PWMQFch0Jgh5Ae427Foph+DumgVO9R5UYEJWnAVZBXWmnmuQt/1XvQpL4I65vWXT6CL7W5+cUOkrlLwUBLvk+jzGNkHUx85wdYdxBtSNSRHnHKyXPCLD9VDjE2BRPREk4vV0n+0IR1wvyVrFgJLM3GThzKtZi55zYSfhbX4gmnca8PRZFqL37HgkhAvnqyFfxID+n7/bF4fUJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8oZtgS758aKn1jCkkAggMTADSKVFF0QRCa7AMjfM2sM=; b=xwGUYfdnbHYDhmX2o+x8cA2gXIXvH1ToBhY1oQGnPqZQm6H49eTZSiDRjLAOSotx3AaARcDHvsxzmqYEIB6WjOF81o1gM4pLZfbgjZEe/Dt4B6CX8t484H6AShCCsnbOUpe1y4dYyHXQkbgBqeW0z9xtjdyi6YbIJGE6wwulcKc= Received: from MN2PR12MB3085.namprd12.prod.outlook.com (2603:10b6:208:c5::29) by PH0PR12MB7813.namprd12.prod.outlook.com (2603:10b6:510:286::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Tue, 18 Jul 2023 10:37:53 +0000 Received: from MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::5527:ce19:d57f:4172]) by MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::5527:ce19:d57f:4172%7]) with mapi id 15.20.6588.031; Tue, 18 Jul 2023 10:37:50 +0000 From: "Varghese, Vipin" To: Thomas Monjalon , Stephen Hemminger , "Yigit, Ferruh" CC: "david.marchand@redhat.com" , "Tummala, Sivaprasad" , "dev@dpdk.org" Subject: RE: [PATCH] usertools: enhance logic to display NUMA Thread-Topic: [PATCH] usertools: enhance logic to display NUMA Thread-Index: AQHYQOOjO5buGFaYDUmqjCj8hS7rNK+3mrYAgAAMSQCABDzfYIAFGyaAgAFF56A= Date: Tue, 18 Jul 2023 10:37:49 +0000 Message-ID: References: <20220326073207.489694-1-vipin.varghese@amd.com> <3292577.7s5MMGUR32@thomas> <3607087.o0KrE1Onz3@thomas> In-Reply-To: <3607087.o0KrE1Onz3@thomas> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=f8d9ce2e-f815-4cb1-b86b-57cc7f0310bd; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-07-18T10:33:53Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR12MB3085:EE_|PH0PR12MB7813:EE_ x-ms-office365-filtering-correlation-id: fad7721b-6a75-4641-b419-08db877b0887 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KeFK4f7/HjP0U3i/xVZVIn0/7x5aUjC1Q4rJSCvSQ/WBQ+fuKGJkiN5/soWyn0mdV/jylYlZfMRZ7H4FyeH+898QD9zjR99YbKtjRcmSHRuyX5g0ycTCATbiUR0gT9fdg/3LHxuGfjVmBJGeL5PPHLm7zJbbFjKR/HqsnDF+PmEFu1mFe8+3YHCB3A6ASislHIqrzfjQH8fZhaqynvA5J1hOx4ssHeqD9Sxim6hH0DvakYZhGNnEcqVN2pwI/jU+fOFMz/uQe7jtedL5MLP4efz8NedTadmcEv4uISWmS01ttDTdbQ+xjvSwfnCZRiOLrcDO3PNDtO/YZFVrmcgpSbCyvwdPlrWKQDC7H4HCDvFRV/ssbBfgiMS0szHsIeyN4FVWDrh7ox3/MHtKUr9avfcjRlrgdxFfYt6lgtfqgoIAa1v6i3TYxhsQAUYYiBcvB15amYOqJqo9memHEjTdnLcx1lNel5dJQD9Eh+HUdEN4M8bQS4rueP20Vf57S3w54gfmhre8Qm3diRrh868C1dVH5UoXy9nW8RBLJZgU1N3MVT7sG3liRgvrLQEGvDSRkgOeLO2kf0aJXq+teSHid0TCSAQWA4SdNJ+7vxfrwgXyCyJIAZhFtXlOPsIsO5q6 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB3085.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(376002)(366004)(39860400002)(396003)(136003)(451199021)(71200400001)(7696005)(478600001)(54906003)(110136005)(83380400001)(86362001)(38070700005)(33656002)(55016003)(2906002)(26005)(6506007)(53546011)(186003)(9686003)(38100700002)(66946007)(122000001)(76116006)(6636002)(64756008)(4326008)(41300700001)(66446008)(66556008)(8676002)(8936002)(52536014)(66476007)(5660300002)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3pfZ1uhBkwS+s5GfcYahXtiBb14alB10Z5IZHNujDV9CdJFTRyme0InPjMe2?= =?us-ascii?Q?f3Z6cNIijvqNSwdL/bOCsh9EEGgqCLp/LEdvBMXAb7XjZQLvu9pzQaT1Nizl?= =?us-ascii?Q?CyvhDJ0nVT/bbl4pV0UZk+VhpzUrvxqzrMlRUNz+6rw3VjDfx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IxFExLTvBUTiPFEpFj8zgf1X312ANNHQkAR?= =?us-ascii?Q?6J2njWLKOj0qFiyMi7aVylGWaGh5XuMLzdR09HidOcwIQsxIuT22M7dBnKOR?= =?us-ascii?Q?m1w7maOJJ18C725om1qWlFBWA+DxWSRf4xgRSO5duD5kinAgo+XAiPTfI674?= =?us-ascii?Q?yzU+CAIR71pXruoH3wkVy84uUg8gGMys6Ert7wWdBeKx5EgpTtugpcZ7dWPf?= =?us-ascii?Q?Vp/Mjfgk1ttbhNgljdaJDExv+YAbCEFiR6kevNf+VjeIEzS3FSAUNmQ7LwYW?= =?us-ascii?Q?Y3CQ90G+YejFywaZUprenH2QaC7jaFgPZoq1xaIvkn+35Txq2bFvwxXz8nWX?= =?us-ascii?Q?inXGUKnTF+liCZ0ZHXlzMcgLoQ8omrwSvQOXQ7Pvh5eKsZbHIffZXI8uqPu6?= =?us-ascii?Q?trjFQNV9425L9utq7xQj+6vvyIHSwAD8RNlA4BS9zRDda1pUzddab9X1rxjT?= =?us-ascii?Q?o3fMVlBwDFMZYp4Zzx6XDU42erOnFPAEv4F2tYrpBCA1GODh2BQ/yPWTs3ea?= =?us-ascii?Q?cHvhndADtchxn2OIMyvIuFVUzg5creOIX1LIIZFX?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3085.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fad7721b-6a75-4641-b419-08db877b0887 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2023 10:37:49.6550 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yeiZFyOuqc4e4xloM3LHHGHTDq3Izl0C5AWvLnMaNoLphvu9CH0xvh/GpMaYJjJDLjlwxwQZi6d7LSILIGR2/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7813 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 [AMD Official Use Only - General] > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, July 17, 2023 8:37 PM > To: Stephen Hemminger ; Varghese, Vipin > > Cc: david.marchand@redhat.com; Tummala, Sivaprasad > ; dev@dpdk.org > Subject: Re: [PATCH] usertools: enhance logic to display NUMA > > Caution: This message originated from an External Source. Use proper > caution when opening attachments, clicking links, or responding. > > > 14/07/2023 11:14, Varghese, Vipin: > > From: Thomas Monjalon > > > 11/07/2023 17:42, Stephen Hemminger: > > > > On Sat, 26 Mar 2022 00:32:07 -0700 Vipin Varghese > > > > wrote: > > > > <> > > > > > > > > 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. > > > > > > > Sorry Thomas, I did not follow your ` I don't understand why we > > continue working on this script. I thought we agreed it should be > > removed in favor of lstopo.` > > > > From last email from my end `we should promote and document the > changes provided the existing tool is phased out and use lstopo`. > > > > Note: > > 1. This is with assumption that both Linux and Windows `lstopo` is modi= fied > and handles `ACPI L3 SRAT NUMA` and `Node per Socket NUMA`. > > 2. I have not seen a depreciation notice for cpu_layout.py too. > > My take is that we should stop working on this script. > It is better to contribute to lstopo. Did you try? > > We probably won't deprecate cpu_layout.py easily. > The first step would be to add a message when running the script, > recommending to use lstopo. > Vipin would you like to write such a patch? Sure, we can do this. Based on the discussion with Ferruh, we as AMD find a= need to update documentation for ` Platform Specific Guides`, which will h= elp to capture various combinations of `NPS` and `L3 for Compute Tiles` usi= ng lstopo and other tools as required. >