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 7874143000; Sun, 13 Aug 2023 04:12:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CD9A410F1; Sun, 13 Aug 2023 04:12:11 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2047.outbound.protection.outlook.com [40.107.101.47]) by mails.dpdk.org (Postfix) with ESMTP id AECFA40EE7 for ; Sun, 13 Aug 2023 04:12:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mTCYJ4Sk/HjVnYHYlnjVqB++8oA2FViUDc7enakDtbbGDCCF9TGSc2xB8YXW8vyMoeslUPHe8UlvAv/m9PR6ZHOTD2H/LsEIxt3OcrOuY8wZuon46Q/Zr4s9FZ2EZbFpedECkvrCNp4fud5BpwR9kNMW7NnKU5u9kRMbEqlJx1Rq2c2nEKFM2syTfV0Nnj/0EcS0rfo7wLCPmBIGFyJMeXy0kYlEYO07bE1wDJvc0nJ49ae1dhEzCnuD3BqII6/GJyxxKUBYsw0/6urgvgkvrnAElb0z060NLwFa9H6rdjzjd+X0wG5XqIeu2A8DGr7hEoFycpdUExqJC2eMvCjv7g== 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=0tHllTMBEGXMNyPppBfeqY4i3Fllmn/HX5dCAYcXsMo=; b=iJA10SxfYqg0wy1Mncp17VxY17XM2wYi1JPlIdWIEILTyt0p508Awn+rNw8PNjLkSpgk7T410kV6JpsFEm6JqcCzf3NKn3cOOy08PTdKbUe/blAy+LlTsmJjTBAebBR0p89zqUfU0c+CkvFLRSyZ27yswXk0AayUfuXEqbSFf91pLlLM+AtpBUzNi3XJ1CIOjV8j66rEVueFiyhQnksONy4+QPbLLjbRGNooNeznkFefOxMDpuL+6WhUzOYghJPvAsgCz994izV7Ah9+xl8ws6Dbl0/NVr+7aN9jJFYis80iZ8UYH8Dqr0N/I07xoINHQYRct7YJ2jKp+dZo0RJHow== 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=0tHllTMBEGXMNyPppBfeqY4i3Fllmn/HX5dCAYcXsMo=; b=H+aPVM/ZtprAJjyBIkzvnUA1cWSlwJuqbzpe/CR/oS4viZtRKz0HUmybpfphmDWxtcl7OeiavcSZt2VexLHa7NhDJpTAvkxLiq7dW1c+S/ZUEDE3tM0Mx7loUC4lQzZoeFWR5gIhscWfwsaXK3Ag6uqp/t2Jo6OH7n4XdYDKvow= Received: from MN2PR12MB3085.namprd12.prod.outlook.com (2603:10b6:208:c5::29) by DM6PR12MB4418.namprd12.prod.outlook.com (2603:10b6:5:28e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Sun, 13 Aug 2023 02:12:04 +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.6678.022; Sun, 13 Aug 2023 02:12:04 +0000 From: "Varghese, Vipin" To: Stephen Hemminger CC: "thomas@monjalon.net" , "dev@dpdk.org" , "Yigit, Ferruh" Subject: RE: [PATCH] usertools: suggest use of hwloc for new cpu Thread-Topic: [PATCH] usertools: suggest use of hwloc for new cpu Thread-Index: AQHZzLgM+SPcnylxlkWW9UguJmnQ/6/mwgKAgAC6V0A= Date: Sun, 13 Aug 2023 02:12:03 +0000 Message-ID: References: <20230812005720.997-1-vipin.varghese@amd.com> <20230812080025.7626a94d@hermes.local> In-Reply-To: <20230812080025.7626a94d@hermes.local> 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=13a4f43d-bafe-4b44-a408-e64c526aad4b; 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-08-13T02:07:21Z; 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_|DM6PR12MB4418:EE_ x-ms-office365-filtering-correlation-id: 7c82990b-a9fe-4c35-e0ce-08db9ba2afc0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mD4QkxBzYeWi77ptR51rEUJJv77mRzjEPQhVGYsjiZC1KrcAe373bEzWtSBL72dAZw4EqBRTsgw6O3PxBT6FGis8JRVuGXt5PM22TOf5oRhfB3+SBAJT08LdID9oMeNP02LSoefqxazy2a0YExOTuDojzF6aTKT+0q2mZo1BO2c1sUCDQV9n4/J6jrxPwrW5JcWj1UkHnWeD1D83inZ9IUwHh2XRhp0CvIyqLWRycEYDtiWXh7yEeAfTe8MQQ2yR/xHPQhVdN7penlTvaDRgXX0u7h/tRDQq2BB1s+n9jlJWCyRaFF/eVIuCe3zPyT8dZgWtUZ26k35I4uWUqJMM1zaKX77UNRPJUkpztLrOg1UY2sUwsd3f6+9pW3Ce1C0FQ1R4ejDNastjcMbBH6cctdU70wBF/4QDCF5v+v0rm3KKNDYpFpHFjYOufb7SGj4N4j6srBsExQdakQYl8q3GUdPoFizKLIeQWQ9SHk2i4VAo5Xqkwsp9qxqzDPeIzaYKeM2XfwtvihEOucCdLwdVIpHrL+bjgRad4lP2vAlOwcb5aZGqRytHb1BclMB6sXrcNRIsFRiGs8a9Pvr0Gqo3cGHs8vsKv+aCDQwR2+dFudMKAC7W+Y4OLeZ233byfxOZ 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)(366004)(136003)(396003)(346002)(376002)(39860400002)(451199021)(1800799006)(186006)(55016003)(38070700005)(33656002)(71200400001)(83380400001)(122000001)(66446008)(38100700002)(9686003)(4326008)(52536014)(5660300002)(54906003)(8676002)(316002)(8936002)(76116006)(66476007)(6916009)(66946007)(41300700001)(26005)(66556008)(64756008)(86362001)(2906002)(478600001)(7696005)(53546011)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?izRAk0R0Kq+xbOOpwnWesgsN1Cex8xi8HjFbgu+1HMcGAPfN5JjeGjSC0xN0?= =?us-ascii?Q?1c1hSN4yWIByoAuxszaixwnORJKL9VgxAPECx2RwdhqJfeN4AVs6XmqCvMZh?= =?us-ascii?Q?S1pXr3eChf2a8L0r5qd0m7Z7QUToPODzmRylHCdjTCYDtscgWk6ZtlBnNI3J?= =?us-ascii?Q?YA26AC9jn9M8oUvwqz5Xvd0YC/CfSbX3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n2XTQvYlh017x/MkjrctTW+BLcasuEIgK6o9S+4eSxu8pSMKSTOjuZabjN?= =?us-ascii?Q?uw1+wKRCrsE9MFELTZqHn4h6eQNGiL3355P6+k2cC+bS/ybYNxUCmQS3fmw8?= =?us-ascii?Q?Vxw1QJcPRsd17KoH6mbtjzzI0x4s/klXxg+QFEorC/QnMoDXCLBvGCkKIu7a?= =?us-ascii?Q?0/EULJTCwdVNsT64zqHP/Q7nrk8Muhy2yfXQz3adxKfyKaV19GdBYqewAMZ8?= =?us-ascii?Q?3IBxonNF5aBlql6Fek6SmqHbBURbE/cyhiTlom3KfJCmcy89bzleHosYXlJb?= =?us-ascii?Q?W6qAeQ6XRKu7kv0mcqs08ju7szBTTgg450kIbXobVaAwLVyedckwxlgWljd3?= =?us-ascii?Q?a2qLOkePwIVw+qlbR7eiBIepIBs4ZiTj2W/K95ab3ytpNZH17QbuUhRih3xQ?= =?us-ascii?Q?HpS/oh5fs50wP33RqrwtXeiVn+cNOCX57z4dDoHdTpYOkki8roYeAVAydHGE?= =?us-ascii?Q?oAG73Q5AuGK2DsQDyd4=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: 7c82990b-a9fe-4c35-e0ce-08db9ba2afc0 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2023 02:12:03.8664 (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: 0qXJtBjFqgFklILqzujGOzBxbqauQVEkSuHYEvXsWrKArLr+jqtJxcjRvSPUk4vCYMEuMpHNKaXQnQTKfQlEyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4418 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: Stephen Hemminger > Sent: Saturday, August 12, 2023 8:30 PM > To: Varghese, Vipin > Cc: thomas@monjalon.net; dev@dpdk.org; Yigit, Ferruh > > Subject: Re: [PATCH] usertools: suggest use of hwloc for new cpu > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > On Sat, 12 Aug 2023 06:27:20 +0530 > Vipin Varghese wrote: > > > Most modern processor now supports numa by partitioning NUMA based on > > CPU-IO & Last Level Cache within the same socket. > > As per the discussion in mailing list, suggesting the make use of > > hw-loc for such scenarios. > > > > Signed-off-by: Vipin Varghese > > NAK, no scripting hwloc, it is ugly and creates a dependency that is not = listed > in DPDK packaging. There is no calls to hwloc within in thescript. Hence not clear what does `= NAK, no scripting hwloc it is ugly and creates a dependency that is not li= sted in DPDK packaging.`. Requesting to cross check why NAK is shared for `print` as suggestion. Henc= e, I have disagree to this. > > It would be better to just add a footnote now something like cpu_layout s= cript > is deprecated use hwloc instead. Please try and let me know, This is exactly what it is does as pre-footer. > And include full deprecation notice in DPDK documentation. > > Maybe there is a standard python way to mark whole script as deprecated. With respect to depreciation please check the patchwork for `usertools: ena= hcne logic to display NUMA` all these are already discussed. We even requested to remove the script if it is not be used.