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 E749EA0579 for ; Mon, 3 May 2021 14:58:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE7AA410FD; Mon, 3 May 2021 14:58:54 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id F0FAE41125 for ; Thu, 29 Apr 2021 12:10:43 +0200 (CEST) IronPort-SDR: alV0o3kJ6cjZufM75RntCDtA1h8ra/ohM/kDUKwkxfoMflvlNcqkIU3ChUvIyjqcNZjQKr1a70 2szR07a+epSQ== X-IronPort-AV: E=McAfee;i="6200,9189,9968"; a="197071801" X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="197071801" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2021 03:10:42 -0700 IronPort-SDR: dHg38xdW0rI3CIarvhHHEqJO4dRtE2MCXsa8G3avdXIhS9zlPMjqP/+rZjIg7w7SOivtHCeg5i agxjOASrvGbw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="430771204" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga008.jf.intel.com with ESMTP; 29 Apr 2021 03:10:42 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 29 Apr 2021 03:10:42 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Thu, 29 Apr 2021 03:10:42 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Thu, 29 Apr 2021 03:10:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TamFA1FMCoZNXCKUWillToS05hh+LZkcNKN7P3fWcY2T9qlAhnFftD1BSNrGVPqWqoB7yJfnyy+YoPcj//J8ubMfl9mRA3SBgw6xDUhGz+VOvGUr19iZzJOJoXxEXuUDiPidm+KrFW9bFkDDkB5LOBuKBSFUPy2uJn6SWqSeGGFopHCoO/VcE30J3zKoJ46Bviv8Qp9/nGFHIP5VXR7NmDYV8dVqt17eD3vfCq2wCPDwHasxbYH7Yw4mDd3mks03s/5WBYLmoNCdUQ+sXCq9PlmEMfgf/OiiL3eenFeoKW9Is/YS/Jl+jNpxzJFflojgCoyvDcaVe4jL7aKs1mjyGw== 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-SenderADCheck; bh=COgB5iTQbHeFnJwsA68C2mkflP2ZebMG3HgkUKhHNJA=; b=jip6kJ67RMgF8Ab7NeWB3UtIO3tpLVpIlNO7twmC8SahSM61RTKqN1Dm2TMc8ltbPnE3NRG/IOwzFMIOj9vpjGUHflgLmi9W/ixwEZgHy7ieh+/gB3QWDgiLiXxev+OCkw/1WoFqEuUaFHax7rmMcNb7cH8SOcGGhKjE4XSQlYFYnhs3P5iJ5fSBkeJybBn/Spuvgn/d/DKQEY8olWGikWkjDLKHO1VjzAhBawHNfjhHnHeAWF471clQ1tfANJ4vg4CkvmyMAxHE0Rcnj4l1R81jwXBlgXwvPFrv+j4N42vPX997CHuJIFVab3nltHZwbAK++148T5Ih9EtANTcx5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=COgB5iTQbHeFnJwsA68C2mkflP2ZebMG3HgkUKhHNJA=; b=ZEEp0bMiB27+OTyLLKgdj62VdkZYCMVKIprSlqxqmWzEYNdt5yNAbIp4ZfFkZC0OUKJNO6gfAslxljHpbZpaa1HSfZEdIeAYKZTx5UmBnLeNSD9TN30GRMig++DNSMjObkoeVYkoLDd4w9nKuY9x6LRWUatN2X54V3Yte5rk+bw= Received: from BL0PR11MB2948.namprd11.prod.outlook.com (2603:10b6:208:75::30) by MN2PR11MB4413.namprd11.prod.outlook.com (2603:10b6:208:191::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 29 Apr 2021 10:10:37 +0000 Received: from BL0PR11MB2948.namprd11.prod.outlook.com ([fe80::d051:d294:23e8:ae66]) by BL0PR11MB2948.namprd11.prod.outlook.com ([fe80::d051:d294:23e8:ae66%3]) with mapi id 15.20.4087.025; Thu, 29 Apr 2021 10:10:37 +0000 From: "Szwed, Maciej" To: Stephen Hemminger CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Hyper-threaded cores Thread-Index: Adc3T8mCwVwiUQinTA+MIAiUJ19w0ABEc5AAAR+BJHA= Date: Thu, 29 Apr 2021 10:10:37 +0000 Message-ID: References: <20210423095624.1ce592ba@hermes.local> In-Reply-To: <20210423095624.1ce592ba@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [83.25.30.178] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3e46518a-44dc-4e63-acde-08d90af70914 x-ms-traffictypediagnostic: MN2PR11MB4413: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8a+VFp9er+kkH5WVqa8GsI4cQJFpauOqXQhOsy67fSH65wCaTaqmg4Oyj8tRzvSrp6Xr1Ki6PnNGSPdkACoBDCdduX9MSi76emt7BFlkQdMCKbgilgMhAyLS9j8z1bvYRW3CyP0lTC4SggBcu45uOHNGAQhwh5CZE+7Oo61/0FEZLLRgOqi2XzYtQ2ZeEFWducSpev28fZYZKQ/LITarOvjCkednH1cyQpKW/kiKdxtqSQrOvNm7FozDupyx8gxhQZjYcIiU4j0qu0PYm87ZWCPM1f6G5TD/GcSVMErUWKdeKA+VFafZIuWvo7L4eOvbMAcusQteAsMTstqKsqHtzXmVjeT55MZTHSDLnav3gZcVxmTO/+2h3wyZYLedMkB7IZs7OCuRhtu85vZond/E9X/PmmPjLJCscBr7TYhk6D1ku7xQB7KCTcP4Eu+GTe9WXtCNTnBWqxKhhPvNPJueS0+s/zz5ib7SngJYb8DPpDdLrZhpygXovM67TYZrCa1MfeR0tH4H+I3KMHdZ+otzATA9Jodgi5rlt+JV/H4p/QifkMUjTcRZKMmDhLbLzVfTVYjrlbPoBkzrs9SzL2sBLvkinY3Icv8QBhGaykWZh14= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB2948.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39860400002)(366004)(346002)(376002)(396003)(6916009)(55016002)(2906002)(122000001)(83380400001)(38100700002)(7696005)(53546011)(4744005)(4326008)(52536014)(6506007)(186003)(76116006)(66446008)(316002)(64756008)(8936002)(66556008)(8676002)(86362001)(478600001)(71200400001)(26005)(9686003)(5660300002)(33656002)(66476007)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Fu0qvs6ksUpKWQdVbqnxdZ54LObwSZtft5HD/fgA5bQNzsLTvvETnjSE21pp?= =?us-ascii?Q?zcCZ6vha1kKuXkRvMYK8Qr1ym2tFF8v6hii81VWFGyCaVdZ9b7huj0vT9jv+?= =?us-ascii?Q?xhigMr3dJS5MEhmEGXHVq4QqFJOhKNA+EPfx5P/3zGM32rDrJ3boOaOZs1Tc?= =?us-ascii?Q?8COdxEc2QWOEJF1d7AhJxxS3y5f7An2rPwxHYGq54G9jHzQEER4djhqb8QA1?= =?us-ascii?Q?Nxd1/srMdljVNuhIjN7pnChW94+nwRtoO1X1cVUdIKmd1BdIhJfAbNI73FW8?= =?us-ascii?Q?YO1CzItoXINZJOS/4SetFyZv2z5OStA+s5LGsEJXk5HR8wRHty+LJQO2fPGL?= =?us-ascii?Q?xdfmwKtWvAj1yOKZBHlu+rlZJG6LoSIwlgIbHubvnNXYLfaW1nffRhPhGumE?= =?us-ascii?Q?9bIWRweT24jNudapLfhGU27k9F/iqriip8KoDhj/cE5BXxy4Ny6idDVm5AeQ?= =?us-ascii?Q?JUK5PUoCJh13aZHhHKAsjpUHiI4FByzVlcVHefeZts3c+IMJupu6kQ3XlYAW?= =?us-ascii?Q?CpgMtHhhtMIVFZuXVGaEAAJTNFGCMXLBat/We1hVIQ7J7XZBSC0RvCrqZLaz?= =?us-ascii?Q?tsAG61bniuVpmSDkWwbyOWOZhrMbNCFLQkDp+peFbariqirm+VoLdnK3D4Qa?= =?us-ascii?Q?3X1NYg3DHkHbcJQ3v3WmKbhy5sDWC/hETNAHQiKWCU/JU8wBsr7PPwosMpNl?= =?us-ascii?Q?7jSCku7OFBnPzj0fbKX0BydGO0UqU10Gz1qKTjBia2kHoYvxVLU9uZk2I5L/?= =?us-ascii?Q?zIM7W+3SxSAqCZoKPhqTWx2d8J9dVC8Uq7iRjhrvDYTFhkS6HNUZ4UalGaVy?= =?us-ascii?Q?3pfGKl8B6nan8x2i1psDQwnWVTLwqW3xTHmOj3GCQf9UOZZ4AgtTsyEP5NlF?= =?us-ascii?Q?aba7MOItukgwI5QtGbwIYn67m7XXOkHmLrQf5jd+DgS58X+Zq7JaJ5qvOgaf?= =?us-ascii?Q?m0KShkq+gTMlPBK1ds9iWa0D4Cd9HfpnLeaqgCTsLP4l4YCHsPPQIvQukrHl?= =?us-ascii?Q?L30zb++wrk4Ft7gIP8olw59yZu1y8CG2nyDO25L4EgWg/ghq5FKzD4FZRoVb?= =?us-ascii?Q?dyCEaBtUUv2ZXT8fejGn/ef1ynrALuzWBKHwBVS1truiyMUEwVKXGkvztsSO?= =?us-ascii?Q?1tEuhOQMRGIVOvM6Fu/T2J8XrN2ENHH76mHjKuhAgMYxdkNfGmL9BpaMlpG2?= =?us-ascii?Q?wxF7JDxg1QpjcZ8TYt2NeXiGszvYXhCQKDZXPu6rhru4jiNYP79DfA2PCorK?= =?us-ascii?Q?diRAzXNqLRwzQWuxLhvaQwlcrALvzvmQ59nak1+dH1B2iWjBcFSY3NCmnW/l?= =?us-ascii?Q?pfw=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB2948.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e46518a-44dc-4e63-acde-08d90af70914 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2021 10:10:37.3876 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wTEsUq/h3QX3j1Y/6wakvgCEQQH8tDVkzdwYnHGmJpTzHZM2eYZFKr70zkizC2xkhOx/X7tzBqnoA0Ffgm6mVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4413 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Mon, 03 May 2021 14:58:53 +0200 Subject: Re: [dpdk-users] Hyper-threaded cores X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Thanks Stephen - this is what I was looking for. One more thing: Is there a chance to put such implementation in rte_power a= nd make an API call for it? Thanks, Maciek -----Original Message----- From: Stephen Hemminger =20 Sent: Friday, April 23, 2021 6:56 PM To: Szwed, Maciej Cc: users@dpdk.org Subject: Re: [dpdk-users] Hyper-threaded cores On Thu, 22 Apr 2021 08:19:34 +0000 "Szwed, Maciej" wrote: > Hi, > I'm wondering if there is any way to get information in DPDK which cores = are hyper-threaded siblings. I would need that information when I'm using r= te_power for changing cores frequencies. >=20 > Thanks, > Maciek Look at the DPDK cpu-layout script?