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 8519542E42; Tue, 11 Jul 2023 08:38:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1358A40A7D; Tue, 11 Jul 2023 08:38:52 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2066.outbound.protection.outlook.com [40.107.94.66]) by mails.dpdk.org (Postfix) with ESMTP id 930B54003C for ; Tue, 11 Jul 2023 08:38:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BaCQcr91Qp1QwY/v/MrmLpYJx+lVNPGPGonH18/mFiyreucNXgq1/+a24Mb7rBJB8Bf1RwcGcMw45kkfI+NBChqADWHNAdMxlzhnEgu686uft16aFB2fDGOw7Xo/qPuqoOw0zkC/XW1POPmeG0In6wF/qTpIZo5jKEoRBK8uDlXrEXgh0Zl00EIwCtDoiyRh9OUuMNpO1NpVevRFViH4LlQ+gqD5VSPP+NmLBBTLLU/m3y67WOsLZ7lXHOBFFkBAw7DzB5X3EQUtM88xrN+vZHoNM4QYLfhcrpGNAgk9C3xXlmO/cWBE5GLIk932vsH6H1iws9b2T1stX4PXRNA78Q== 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=AAKdEpJDi4Ah4dKvt0glkHRwrpEo2vKK3BvMD2z66js=; b=iayXy8l7eKi8rWIPW1AWP5JkAgSJgyEw9Vv/IbY89AZyMSwMqqOA11Rt+zWK50AJsY3Ux95uzUw0CXkWfWN5hI/9Keu9IrHiUS4CLUKt2H2hvVPJz27WkZctJihB8aOPJA+ncOLI5ZjqcUfQKcfMkluhhYA73II3rIk2tmESKEmuEVvta6rI7P8WStqtm7pvxH6GSjeM0IGIJVqka8smKRQFXCkCgwcX2JQC8o3dvdgBkdUb51T3k+pY/5nzj59zhUTKWQUVO75xxyvyBVYkzJe9FnpF2DLPK5Z5IRrmimZRxm1mATY3GJZDGf/pDKFEGHy+6phY3bfc+KpxR41t1w== 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=AAKdEpJDi4Ah4dKvt0glkHRwrpEo2vKK3BvMD2z66js=; b=KJo+FnmnwClKpzgFypyclcGuOqoNX2jNp9Rz1te9+n9AoigMJ82IBcSAHNZnOaroHu5BCT0KoexuIK88bS1TKwBJey/lPFSMTFk0xN+YsoPf6syg1GdVXHZ7Ba2wK+t59Fr+juU7cRQE9u4gyHVWEtNfhSklbkiCR3nuRjRJyrA= Received: from MN2PR12MB3085.namprd12.prod.outlook.com (2603:10b6:208:c5::29) by SJ2PR12MB8944.namprd12.prod.outlook.com (2603:10b6:a03:53e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Tue, 11 Jul 2023 06:38:43 +0000 Received: from MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::7b92:bb02:49fc:cf82]) by MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::7b92:bb02:49fc:cf82%4]) with mapi id 15.20.6565.028; Tue, 11 Jul 2023 06:38:41 +0000 From: "Varghese, Vipin" To: Thomas Monjalon , "Yigit, Ferruh" , Dmitry Kozlyuk CC: "david.marchand@redhat.com" , "Tummala, Sivaprasad" , "dev@dpdk.org" , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam Subject: RE: [PATCH] usertools: enhance logic to display NUMA Thread-Topic: [PATCH] usertools: enhance logic to display NUMA Thread-Index: AQHYQOOjO5buGFaYDUmqjCj8hS7rNKzRawgAgAKvx8CCuL7LAIAAPiKAgCnpp7A= Date: Tue, 11 Jul 2023 06:38:41 +0000 Message-ID: References: <20220326073207.489694-1-vipin.varghese@amd.com> <4bdbc7a6-ae16-898c-a9e3-5b196396b662@amd.com> <3063086.U7HbjWM52l@thomas> In-Reply-To: <3063086.U7HbjWM52l@thomas> Accept-Language: en-IN, en-US Content-Language: en-US X-Mentions: Ferruh.Yigit@amd.com,dmitry.kozliuk@gmail.com X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=7898d7a5-45c9-4e96-90f3-d9ac92ee1db1; 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-11T06:33:19Z; 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_|SJ2PR12MB8944:EE_ x-ms-office365-filtering-correlation-id: 8ea76c6c-93dd-4305-34dc-08db81d9775e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IcPdK5tT1/i7dJUlM10RuDjpU8d9xaO6G54ipzZrqap222VedVDrgPA3NeK5NVv0cW9Xo4FP3wxjiTk/Ode0k0Dcq9PmNyuQOK8j6ovMfxQdB7132oV8SApc5HLLyPpeFC0ZVCTqikW6avKWIg7PrnEmIMO+cLUQz7ZnAVxGtIeCrySbGypAEiUaYHgRWarcfo+KVdtzF06Dx5S36i6gue5FySN2HyGXwUvCWXrWBB05iRlqMfwYBaTu9hj0KGqVYT0X21CSxK8vFDSNHAKKi8bxM4ukY+fElY3GNPEEAO8ShBmtiFa1W++vUXpPfBYKXx5PeE4bshBwLHe6ABiFmPHQj4LiG0GUUXsv4tMulmMzik+uU1Tcf94bPLloIpH7T0O9ofCKmJ16SRvHd0TOg3bMYU+WAHGtThCD7r/DuWswvK6z5qLl2YBnCvwsn8pzW6OjqV6gK8vVKgcT0IocKBogadAMON1Sd+49ofkv7RxTyifA4H4PW3s1POrhSn1sT4HOKRJvJkzHNcO8gietJqg3djwUCZGnQdUiIOdtWBqQhZ7h6NXnhQZbeERtAScFPAIZYwbLWsdO0QEZCVM4xCua2xTKjvvDDRVaHE4VakkSNgpytzzjuUC7vlGMSM1S 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)(136003)(396003)(376002)(39860400002)(366004)(451199021)(86362001)(38100700002)(38070700005)(33656002)(55016003)(71200400001)(7696005)(54906003)(110136005)(76116006)(122000001)(6506007)(26005)(186003)(53546011)(9686003)(52536014)(5660300002)(66556008)(316002)(2906002)(66946007)(8936002)(8676002)(66476007)(83380400001)(64756008)(66446008)(4326008)(478600001)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6fR6+Hmy7gOY6plwyXtxjRH9o0nXuVgJltv6uFuy9d3D8qVCr6nfaQ0KVLai?= =?us-ascii?Q?ZeOAHZXUU1oKhI269tS2pVX7z//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ii?Q?kdiFbiThEQha08TV8K1V1t9SngIQ+TvFp11TYEZIIaLFfVnil3QP5SuMVdX2?= =?us-ascii?Q?oCv7lr2BfdID5CD6Getjr23/E6A25cR2VpjqbX0Ic0MNVMXZev+ybWX0xRBO?= =?us-ascii?Q?/Nc0emDfPx46eCv596SnhHmmHkAVFES5A4Q6S7rYr0jXWnKv5uHWfElMdcf7?= =?us-ascii?Q?jK4dWl/a4ofko8WZOuQhKNlg65NnqUPVeCpeGIk5wuZAMOczaq+nYTK+1PeP?= =?us-ascii?Q?RBGCQvegFJOIoZ27Fwo0R08rK2gcVk95HdsAYGWJDEXFt3GSqNJnR6bbGQpV?= =?us-ascii?Q?OlbZLEEF13ev+FhvSwZjToFrw1x22sBddRYdMXDXO1auuZ4YO8haPAyq+zmB?= =?us-ascii?Q?Q2N/SxbGhQKh5P7h8a7C1m0H6l7uswlUt4DSW9FOSFHLyvqFnxmf3khi5p2p?= =?us-ascii?Q?3rO7I0UW9j1iYOqTDQq1ZFCkDKfGzqS1e/e6+xT6gqJ8d36cMhAFrLEzNSjV?= =?us-ascii?Q?3o9aga6orDRr/0lM0RgFQOt/981bwoVrrNXh3rbGPq9MFWjoQ2TBlMWOuZdG?= =?us-ascii?Q?IKBRLsuG3pIDl15MfeHRXbCJ33YlhuiMmGURj69TV9v+MyNMkQnj+b8KLKvX?= =?us-ascii?Q?BxPmThoxFdWTsY4F2jk=3D?= 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: 8ea76c6c-93dd-4305-34dc-08db81d9775e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2023 06:38:41.3269 (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: 4DijCLF0qGmG5+xswDwoW9zE+Ia3MANpQAa4GHwGrOU60W07RcLy/6PdKDI3qXHIZKYH7v7uBC3dghS8u4RhbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8944 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] @Yigit, Ferruh thanks for bringing this to my attention, The output of the modified ``` Socket 0 Numa 0 ------------------- Core 0 [0, 128] Core 1 [1, 129] Core 2 [2, 130] Core 3 [3, 131] ..... Core 29 [29, 157] Core 30 [30, 158] Core 31 [31, 159] Socket 0 Numa 1 ------------------- Core 0 [32, 160] Core 1 [33, 161] Core 2 [34, 162] Core 3 [35, 163] ..... Core 30 [62, 190] Core 31 [63, 191] Socket 1 Numa 2 ------------------- Core 0 [64, 192] Core 1 [65, 193] Core 2 [66, 194] Core 3 [67, 195] ..... Core 31 [95, 223] Socket 1 Numa 3 ------------------- Core 0 [96, 224] Core 1 [97, 225] Core 2 [98, 226] ..... Core 29 [125, 253] Core 30 [126, 254] Core 31 [127, 255] ``` The intention of the changes is clearly highlighted the NUMA divisioning an= d CPU pinning within single or multiple sockets. But as pointed out @Dmitry= Kozlyuk if the end user will use hwloc on both linux & windows to identify= these, we should promote and document the changes provided the existing to= ol is phased out. Note: there were questions asked in forums, stackoverflow and github on NUM= A to CPU pinning, hence enhanced the tool to accommodate the changes. > -----Original Message----- > From: Thomas Monjalon > Sent: Wednesday, June 14, 2023 8:00 PM > To: Yigit, Ferruh > Cc: Varghese, Vipin ; Dmitry Kozlyuk > ; david.marchand@redhat.com; Tummala, > Sivaprasad ; dev@dpdk.org; Narcisa Ana > Maria Vasile ; Dmitry Malloy > ; Pallavi Kadam > 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/06/2023 12:48, Ferruh Yigit: > > Should we document preferred tool and usage in DPDK, if so where is > > good location for it? > > I think it should be in the user guide. > We are starting to merge the 3 user guides in 1. > You can add it to the Linux guide only for now. > >