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 F006442E70; Fri, 14 Jul 2023 11:14:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FD23406B8; Fri, 14 Jul 2023 11:14:41 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2043.outbound.protection.outlook.com [40.107.212.43]) by mails.dpdk.org (Postfix) with ESMTP id E870540685 for ; Fri, 14 Jul 2023 11:14:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mUSBm/O7j9slDKss3nTKRzQib2RvyJVrKHd9K1GR4zKX2wlv2ZuDAaMrpCfzDQz7l5j7XzUU8htynRCasfTf9TzFnc1t14cL9cgF3D2xhHVomBkw1pcxG7sw6Y/H5ENWvJ+bbAAS+rZ3JGIfVGQHXcyZxwkRXrr/hxMFXxE2+eYrcn08Rlz4CsTLoflhPIiUg4LL579A9mmonj/OPH7i0AFessPtIcmk7of6jLPugYCBPwc+xA7eRQoWVH0Ib626KQKNEYB9kQ7rHN7IzZ2cVBZD/bPc+/1LKBtlrex5zUo2k766m5O5ax45vY6q9a87e7MNstKPilUKcdkvDAz+HQ== 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=Xfi3EjCyTw1cvKdkYxNhMk4Za4v2MBQ9yNICXPF3/iQ=; b=ZfCjCleudDqj6ZYaBlo6KNC6RwAw612ATZrK4bmSYj1DUvtr775/XPpuJdaIjUIOlWCJHuQLXc+g9ZbWEmvAjzHp7CB1VMdyx5IeRTNvwDyBpPTILlEiwarawjrVBncabIgZzg4Fnf2lkHbZcPa1R8hsYWK6KDwzk37aRQxcp4voNqjpUNWfYEGxf9B85S6hhTOTevAX8xzfNaHD2nreMJSDRQQ/gBSiZ26j9rfMxxw4eJLK/J/6+UxEqCIQmWhUzdEfWH1Jy5nPaa0b/6oknShov6zrWwWJZOTgOAqIoXWHnsMwc44VZG3VPnjd5Glci0g/muxAQLl7Empe0mDwIQ== 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=Xfi3EjCyTw1cvKdkYxNhMk4Za4v2MBQ9yNICXPF3/iQ=; b=eOPu0+KLXSjdrHXVVtAJyauSxjFdB2p/3WrQncfz6mGADi+l4RXo8UsIenQU8iPkEfUd2cbOvxDVkoPBSvTI+i8J6iJ+J4c0o882jM7Ee6Me/Mm8Z2X4uHA6JDNww8KNSgknfOdOpUrAUgR+BTt7aJ04wazW/Nw88PNtIfFCp8c= Received: from MN2PR12MB3085.namprd12.prod.outlook.com (2603:10b6:208:c5::29) by MW4PR12MB7382.namprd12.prod.outlook.com (2603:10b6:303:22b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.27; Fri, 14 Jul 2023 09:14:38 +0000 Received: from MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::fd53:df40:f:6423]) by MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::fd53:df40:f:6423%6]) with mapi id 15.20.6588.027; Fri, 14 Jul 2023 09:14:37 +0000 From: "Varghese, Vipin" To: Thomas Monjalon , Stephen Hemminger 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+3mrYAgAAMSQCABDzfYA== Date: Fri, 14 Jul 2023 09:14:36 +0000 Message-ID: References: <20220326073207.489694-1-vipin.varghese@amd.com> <20230711084206.25e7b530@hermes.local> <3292577.7s5MMGUR32@thomas> In-Reply-To: <3292577.7s5MMGUR32@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=833355a1-5f49-4e89-b8cf-e7f22140c5bc; 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-14T09:08:58Z; 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_|MW4PR12MB7382:EE_ x-ms-office365-filtering-correlation-id: 0a46b80e-7c76-4a65-7f37-08db844abf02 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JOXmOVKRq/MCHxsMpVQ7Y4BOP6i6sl7yWd/3tYLlB83mm71lutIL5/ldmjSeOEC/NhoiRSnucPkc3yhGjycW8rDTOOu0xuHcw4r4sJWshTTqPP4E3huTnqtGlmrFh4PFwh+Q7RcH3bEaizosv++YLt5gN4REI1OSmFyZvyWenLBWUmTs/emHu1s3JzURj/Ey4nyrLNO1TJ1Dl9yvxFShBM1BS37Z/DnfJQIHp5ySRFnb5dET5E3h1DNK34Cqoo7jFKKcSUyXDnYlZAS4MW2d3fpGxuhi0/9eq8xl70iZbPt25p1l4rorhmrQSqFoY1ErE5vK1ZzgeUP6MFgm2vf+5BW/d/hzmloaxyAK4I0G3IoAWXZIPEl8BacdMNQurczCtp6bGFyX95hy1xRh3h9HoJLyou5LC3e5XQbWHqNdnDkwTPWaXPPh5TCLRXWqZiuJfIrsTRLCKDE2/3GlsqHxBpdR3UIqFwtIMUpao3HEVqe9MNRziLHVYuah5AKXu7HNYPvtgxoWkPkv2i96wyJs42l9sqysW3bhqsK2SBMqg0dT0QS7G2FNwSWrRVU0ABfn3FSp1Spl0A+tb4aU0h8S18GTYglPwhrc4DoVxq5nDDAI+OSiFYS792nXHiMVGEl9 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)(376002)(346002)(396003)(136003)(39860400002)(366004)(451199021)(38100700002)(122000001)(33656002)(86362001)(38070700005)(55016003)(8936002)(26005)(6506007)(54906003)(110136005)(53546011)(41300700001)(8676002)(52536014)(5660300002)(186003)(2906002)(7696005)(83380400001)(316002)(66556008)(4326008)(478600001)(76116006)(66946007)(9686003)(71200400001)(66476007)(66446008)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YLUTjn1guiOWWPg5KARUsWj0KeWPsjsjvTdz2FHexxFyuG6UG8IpbsynF4Ee?= =?us-ascii?Q?3plEZNKJy/iaC2yzMDW/scbFVRG+iZkR+jdtnMgo1P6622JIVWB1yLXQzx6o?= =?us-ascii?Q?4xd/gj1muhmd7DN2rhVCz3rKwRy0kvv2fDmiwFoluxL/I4mL/IMSFxxePdZH?= =?us-ascii?Q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05DmD1pxVH8k1A+uvv?= =?us-ascii?Q?CDdNcP7q0QJUQFsBz4+uvA/rKRP7Rdo2+8qGHEmtqMThyWKt8nwnGVzHnqpe?= =?us-ascii?Q?4KhhtXFpGknxOV9OfqiXjB+ZAMEOB7Z4kExXrqsSmeZMqAtbEnPuyaFnFfsd?= =?us-ascii?Q?C7wDqiE78emMQu4xNEoM1QkFV4FkdV0OdRGAG7assP2vyOHhDxjjoUdfw2my?= =?us-ascii?Q?UheDuloZrYMvL+it1mQmGKkfkkHpju3aj0RNwtcR47i0GPpCmG9S7bW8aKzL?= =?us-ascii?Q?nthiQSnCcs43RY7QMAiUf+K31PLlpdJtECIFKAYYghz87eCgQguCqW+R4BK7?= =?us-ascii?Q?dvM6HkpkbjFF0PuAA0tP8hIeZXUulN1yhx9pWFO4TAFHWfvUk7IUI8cud+uY?= =?us-ascii?Q?LQ+9+Oh8gYZmg7Zk6NwdQWwgOJthssU2ywBwKvECkfVhunxvmFswTgWxCoFP?= =?us-ascii?Q?6HrQGfpBwKB/LjiJaHFkJUJYwg1rtfvAnnsQuhS0c+MzBnL575uKBDi3Ekjb?= =?us-ascii?Q?0gN6UzRkSezgjNo5qM0TciksZ75yFy2oJtkB725S?= 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: 0a46b80e-7c76-4a65-7f37-08db844abf02 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2023 09:14:36.9572 (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: 8h2VjPol5eekfpQK/RSWAHwhxu7NhDfIFpPn+OHcBMJ8QS8HaxM25QxiHERBwzwW+vr05DFrpzHypsJ/PwFs0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7382 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: Tuesday, July 11, 2023 9:56 PM > To: Varghese, Vipin ; Stephen Hemminger > > 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. > > > 11/07/2023 17:42, Stephen Hemminger: > > On Sat, 26 Mar 2022 00:32:07 -0700 > > Vipin Varghese wrote: > > > > > + > > > + output =3D " Socket " + str(socket).ljust(3, ' ') + " Numa " + > str(numa).zfill(1) + " " > > > + #output =3D " Socket " + str(socket).zfill(1) + " Numa " + str(num= a).zfill(1) + > " " > > > + print(output) > > > + print(format("-" * len(output))) > > > + > > > + for index,coreSibling in enumerate(numa_map[keys]): > > > + print ("Core " + str(index).ljust(3, ' ') + " " + str(coreS= ibling)) > > > + #print ("Core " + str(index).zfill(3) + " " + str(coreSibli= ng)) > > > +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. > Sorry Thomas, I did not follow your ` I don't understand why we continue wo= rking 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 pro= vided the existing tool is phased out and use lstopo`. Note: 1. This is with assumption that both Linux and Windows `lstopo` is modified= and handles `ACPI L3 SRAT NUMA` and `Node per Socket NUMA`. 2. I have not seen a depreciation notice for cpu_layout.py too.