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 7A20E45ADF; Tue, 8 Oct 2024 09:56:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 463474025C; Tue, 8 Oct 2024 09:56:22 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 0DED84021F for ; Tue, 8 Oct 2024 09:56:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728374180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZArGcDYfcRNapuV3EKA6QOTrn4DMd0oGy/A3MN0b7h0=; b=d8CzwgWMSSBcW2ODZi73WU5iVB5PtBElxWrjz09+wjaikcMu9Z9l8t0b6qNKdO9HL2xgAm S8ju5VtGONwYuvnV/Zkl3esWC+sSKsQKZDYRhotejovT6vTiz0v9W2QkGm0szKGuy56mCT m+9qz8BJdBs+43IszK2UqkbM7Je/EvE= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-52-Sf18KjGINDGlbdibmHRGyg-1; Tue, 08 Oct 2024 03:56:18 -0400 X-MC-Unique: Sf18KjGINDGlbdibmHRGyg-1 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-53996a1e52bso4722474e87.0 for ; Tue, 08 Oct 2024 00:56:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728374177; x=1728978977; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZArGcDYfcRNapuV3EKA6QOTrn4DMd0oGy/A3MN0b7h0=; b=P3dpeGpgJMOCzYUL9aOIWTmijzNmIj7a2d5iNzZtKeA1Bh0OotOdRb7H/sC9HmHXe8 Bn19AE4JCVcif7GaD2CHExbEDcr/LVZ4jYsJFZSesXhw/tP/Lac+EiYGeBIMLn1q+Wlr t5jz/fSKJ7o4NVR6u5X5E5E19ukVthrGDRUjLMvQ2V0nz2DV5+yaE5lUXSDHjiAQ7lyB dw13eMgj9/G1y6nNl+0HCH0UHy1hTLYM1G4LnOcKOZ08piqs4sE598XFOgSucdc7dM67 rG4fYCrvzzRpGSfNhC9MW8qWsxmBzI2LsUGeO/OOF60SVrvHRbOCfXVxIuUf60oG27On xgwQ== X-Forwarded-Encrypted: i=1; AJvYcCVIWiLkLzcGXVm/bM80s7gf1VNn5LkVNLptatQHR5vPKsHbKEe1lVZtqQ/8Hy7kGH/G9wk=@dpdk.org X-Gm-Message-State: AOJu0Ywi7XzkQHmDGKhuT1WEPkLS7Dzl0kk2fJ7QVDeXijlbN5PlXxg2 L1a7YbVlyMiHqKkn9kDUp13eEvHovFBqAEnmTQIl1a3juwm8A05nbDf28amEwmZo9BFXx0moAoW VUAB3oN+FKQFRQ1bLRDlVCjjIxgEO67WsBBZTapfELhUybjeFtIscAHi9lkTz4Mgvi/9j/Z2J87 C8VIw9JZboqTWCJyk= X-Received: by 2002:a05:6512:2342:b0:539:8f3c:457c with SMTP id 2adb3069b0e04-539ab9ec72cmr7401038e87.53.1728374177107; Tue, 08 Oct 2024 00:56:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhjWFtNr6TiUHaxbBDE7FHe+pp6mzPiIXpzcjcCc3pmchVUuG5jrkWGVHDKDkk1STHkCnNeQOQt88w01x3g7Y= X-Received: by 2002:a05:6512:2342:b0:539:8f3c:457c with SMTP id 2adb3069b0e04-539ab9ec72cmr7401018e87.53.1728374176668; Tue, 08 Oct 2024 00:56:16 -0700 (PDT) MIME-Version: 1.0 References: <20240921140022.107239-1-iboukris@gmail.com> <20241003122819.354499-1-iboukris@gmail.com> <20241003122819.354499-2-iboukris@gmail.com> <20241003081336.2f201beb@hermes.local> In-Reply-To: <20241003081336.2f201beb@hermes.local> From: David Marchand Date: Tue, 8 Oct 2024 09:56:05 +0200 Message-ID: Subject: Re: [PATCH v5 1/2] timer: lower rounding of TSC estimation to 100KHz To: Isaac Boukris Cc: Bruce Richardson , Stephen Hemminger , dev@dpdk.org, roretzla@linux.microsoft.com, dmitry.kozliuk@gmail.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Thu, Oct 3, 2024 at 5:13=E2=80=AFPM Stephen Hemminger wrote: > On Thu, 3 Oct 2024 15:05:02 +0100 > Bruce Richardson wrote: > > > On Thu, Oct 03, 2024 at 03:26:03PM +0300, Isaac Boukris wrote: > > > In practice, the frequency is often not a nice round number, while > > > the estimation results are rather accurate, just a couple of KHz > > > away from the kernel's tsc_khz value, so it should suffice. > > > > > > Rounding to 10MHz can cause a significant drift from real time, > > > up to a second per 10 minutes. > > > > > > See also bugzilla: 959 > > > > > > Signed-off-by: Isaac Boukris > > Acked-by: Bruce Richardson > Acked-by: Stephen Hemminger Series applied. Thanks Issac. --=20 David Marchand