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 C59D845A9E; Wed, 2 Oct 2024 19:12:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B18E04060B; Wed, 2 Oct 2024 19:12:43 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by mails.dpdk.org (Postfix) with ESMTP id CCF3B4025E for ; Wed, 2 Oct 2024 19:12:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727889162; x=1759425162; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=xTcOqw1MgfV2L5v+DVE1kdxf8n8JEw2rnGBbl2x2s/A=; b=Wf/DpcCUg24R6zXL8YNUqVJ/oioCnOYp9cWqY25Ih+m+whCRX7FzYmnY Gq8ggD6YVFNpIX7dB4pVThZM90OgxRfjZjlD3l4IPgbZQgRYqK1wV3yni oHeSPwNbsMbUkZQPh5Uq6MQHJUQP/V4/60mUm4jf2oUtGVGA5UVWjiQ8X UkxSiOKrZcWRaNfdd7r4VAhTIAKjK0F4EZUXEuCjfOofwiMubXay0r0yF Cg3D66X289V6jW6By3ElWpm45q44jYaLr67Qnjsa/x/B0L3shK/oPBd90 q9ympvKHgRDWcQcEvSsZMhi/pBR/21tQbNTVK92gFzy6jOKTgxIjMrCcQ Q==; X-CSE-ConnectionGUID: NNGto3PjQhCUBjzo9K0AFQ== X-CSE-MsgGUID: 6FsJ/7yNSBm0y/g3dtgAuw== X-IronPort-AV: E=McAfee;i="6700,10204,11213"; a="27157168" X-IronPort-AV: E=Sophos;i="6.11,172,1725346800"; d="scan'208";a="27157168" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2024 10:12:40 -0700 X-CSE-ConnectionGUID: SNkLdZbAT4WJ4d2lK4ainw== X-CSE-MsgGUID: e0GKnhpdTh6m4yPrZaolIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,172,1725346800"; d="scan'208";a="74183957" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 02 Oct 2024 10:12:40 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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.2507.39; Wed, 2 Oct 2024 10:12:40 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.2507.39 via Frontend Transport; Wed, 2 Oct 2024 10:12:40 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 2 Oct 2024 10:12:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=isk/qeDGHa6u/fTTK69G8dpa0oHTvOaBYQ2aYuhlRmpUJlaE/PvPItb0kpSYlArgNvQh7o+kltA90RjgdHTDp1XE08h+Su56AjhXLVWE7/UScZ2CuoLbCdHvk5pT1Bdwk9wPtY5vf6LGB3UMV8Ig1MEr6MQlPBzJTr/YrAoI4IQImyDuZnY7htk+S0pEpXOXrZMlyDLVcvRlMpPgjakUONhGl6gKAAdAN1SVsFBkLdD5iCiGNJafLqs4aWIvn+rwr1NsHymVzVdIh7xo116jULhYH/OcVBAi/VBzGOK9Czv0/oN0tjsA3poUY+Pv2SPf4bffPdqBl9w8ln9jaSgSgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=iM9Yg1ATBxl0xXrjfqAlz98uSl2MWoa4su612irVQxg=; b=F1bBMLvxKgNsh3eVmczoKpfXBSBmjstYS9MH01raezlNmU50mTENarjoPxXPMwB/9pDw7k2T+geQ7KEu1AT7Qz0g8jUSMUp5LhGJbNdxf8OPcq1hl+bXW3qbq4pILbT0baHlw0ow5RW7U42l6+KrJASBxA4BgZqu3PrwM6hHkykAUNkyCRnOaX6XZ18zM6LmGtMxsMoCO+gUUVPozgahKW2XOt6XGvZltSgzlbZqRULxU7rTLRe3bcUbaT7VW+DiApkKjfwYc+znwf4JjaLB18r/6p+HI2wa3jaq3rHQflb/Fl8XYrYRwNqa81jdx+mc8Xpfm00JK0YKDrMIEBoQjw== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by MN2PR11MB4694.namprd11.prod.outlook.com (2603:10b6:208:266::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.16; Wed, 2 Oct 2024 17:12:33 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%4]) with mapi id 15.20.8026.014; Wed, 2 Oct 2024 17:12:33 +0000 Date: Wed, 2 Oct 2024 18:12:28 +0100 From: Bruce Richardson To: Isaac Boukris CC: , , , , Subject: Re: [PATCH v4 0/2] Improve TSC frequency accuracy Message-ID: References: <20240921140022.107239-1-iboukris@gmail.com> <20241002165840.341116-1-iboukris@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20241002165840.341116-1-iboukris@gmail.com> X-ClientProxiedBy: DU2PR04CA0026.eurprd04.prod.outlook.com (2603:10a6:10:3b::31) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|MN2PR11MB4694:EE_ X-MS-Office365-Filtering-Correlation-Id: 71f94148-9413-4459-b2f0-08dce305679f X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?01nC/tDw9EoYtHt/ySw/FsXf4Rq51M/CwsP9gRx6u9f0gk9OinP4FdnNNqLE?= =?us-ascii?Q?ptJVCp+I6jaRov/Wc3v9ppmafjO9Ovh6fsGOOGrEgJipC3yPV/l8NOYvrfbx?= =?us-ascii?Q?I3Anpxn+DrGtAvybQM99Nqd0LuQIrOUyXNn0e2ja7miglpG80DVkNFsb0C2t?= =?us-ascii?Q?kN2LTlNim9Q/J9w4w3sAXh2HfU7Yg6vdq91bd4G+Hq2PfT5B9qM3iUn6s/rC?= =?us-ascii?Q?qtDswDhF7j8gRfNG1lltsFwPIGF9jdJJYjkSy3me0R/TQ9JxXi2nfYJKdeOE?= =?us-ascii?Q?LbxGUAKSfDc9yYk/VFS1PevfX9HfFuqzEkUUXIMvtAMczQC3Srri+GjGklD8?= =?us-ascii?Q?ekYesgLyIzHKYRHNP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BP1NW?= =?us-ascii?Q?LjNtyUg0jqdQfaMZ85sQ7VmVvVP0ALMgk9DjoI2OeQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?KTJIWiJCamLjSHjQq7It2z8TfWkqQPu4dBE7dToBbtXXdFwp32hFeQMn0YC2?= =?us-ascii?Q?03RYMym06nZeelHEB7Jl7JED4MgMPBCg4o5i6/TvJFM2FmAjaJ+LVcBo6+ro?= =?us-ascii?Q?a99RzEr1qrGX2B6D5yH6mKb+hbBruw9+YbAmnFHhtDhvLZuBIhCXEz0pzjX8?= =?us-ascii?Q?7l7nM06P7IjQLmBGMJ7FEWwZ8CZkCIj1Yqk6Ln1xFT6fgfyXJAfG75Wdyr2Q?= =?us-ascii?Q?zQxNOSNGiqo7exEMhWCOB6SfLYdtvqPoM1KEYeeQ3i+1NBLb1OPfgFkmK8X5?= =?us-ascii?Q?kXgPhOSeqj3ODPZYLQQvSjghkAj53/pvVbZ3raW4+ehN2ZZAR+Q7jbei+Z+1?= =?us-ascii?Q?gDOfvUv3D4cWVRexaJYAZq7wKvHCSmlcYC4EdLnFLNQssOYJEHOdOMTh0zuU?= =?us-ascii?Q?3+jb8nCJMPZ/OxHbF1EfquNnFiO5x8yK5AzBTWB1xfFSv+jPuY1fe0JWx5/A?= =?us-ascii?Q?QgHCSEEPxG3WnEN4i/TuW8ytAkAfggvEp2k4Gr50KyFEjacafILXYVtBlyIc?= =?us-ascii?Q?n6ftd9U1LcnKa8c/bZ/4X6hplhidSRh7Zp65BWrCJ7XxtgpAhV3TCA6DvlJM?= =?us-ascii?Q?/A0QS6PmQ5NqMiMH5H3m+n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ascii?Q?giDUfo0r8pD4JR0/VbRd6/B2XoW+hIyjaqT9w805jZo0Ql1EtJaUleI6mELj?= =?us-ascii?Q?Awr/6LSAPug2wXAJJVKfSQVUDQEZs40Kx4wEb3HnWvH7mLwUv0QX03QUWK/o?= =?us-ascii?Q?Dw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 71f94148-9413-4459-b2f0-08dce305679f X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2024 17:12:33.3601 (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: tsFkiZNNgwBU/oaEhxpP3nFSrjT7bqkUs7v1NUuQK0/u89IpBeu02c5uKcAWivAV0DCMYlgs6PPTWXg5BfeOcyTZcqScbdun/kaC656kx8M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4694 X-OriginatorOrg: intel.com 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 On Wed, Oct 02, 2024 at 07:56:34PM +0300, Isaac Boukris wrote: > Changes in V4: > - lower ronding on Windows too > - on freebsd prefer system tsc_hz > > Isaac Boukris (2): > timer: lower rounding of TSC estimation to 100KHz > timer: allow platform to override cpu TSC frequency > > lib/eal/common/eal_common_timer.c | 3 +- > lib/eal/common/eal_private.h | 2 +- > lib/eal/freebsd/eal_timer.c | 8 +++-- > lib/eal/linux/eal_timer.c | 59 +++++++++++++++++++++++++++---- > lib/eal/windows/eal_timer.c | 11 +++--- > 5 files changed, 68 insertions(+), 15 deletions(-) > > -- I like this cleanup. One open on patch 2 still on my end. With that resolved: Series-Acked-by: Bruce Richardson