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 D911E45A72; Tue, 1 Oct 2024 02:25:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A726240268; Tue, 1 Oct 2024 02:25:56 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mails.dpdk.org (Postfix) with ESMTP id E056F40267 for ; Tue, 1 Oct 2024 02:25:54 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5c42f406e29so6891617a12.2 for ; Mon, 30 Sep 2024 17:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727742354; x=1728347154; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qdtcNy7KqKPzQXg3Sw4mZGwuEaztAAUx3vYXINR0hcI=; b=L9FCOgoJa+8FyeF+DdqSk5/HAzj6ilOX8SChhxmyddfrLgxPRY4KTue+kJ7F2JAB2z vOVYBuO9RGism2QmIW5TPV4GIIeyqU7W3iDdMHLw5eNot70rt9UcB5gs2ZT44Qn+hcJO hVWPDRvn3u4GaEN8YkN1AxyqJQYXqP/LL1FCXDAOAc505XAoB9yPldyTWTjiC1uEzGcV hiO0ZuhM2EqEbY1kiaaytVOl2GbjpLWCrLCRnngAzT62G6IY2jxNMShimT48CnJEY0I7 iRLSuaqoEbFjMVJu8qDJmcTqJFPl6m8NkviHmMPhHltO36ijYOcdCQkHBeYB2kJ/+UqU 6v+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727742354; x=1728347154; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qdtcNy7KqKPzQXg3Sw4mZGwuEaztAAUx3vYXINR0hcI=; b=fJSw8TGWQz1WF0KRQB8Y/ItpahDtopZ4zcqF2nzcn5VNp9ayqz2NYmbj05qzjxTUgf mX5He+Mnao1HWiUSAutijA5wfswGROCgp9o7ldRJ+aWGoNud88a9MvhYAKKgmUghh2QS fc91RVkxK8NQtBO/MmdSvgb6Mpd7LuZe4BXGvZff3IJhSzUl9teBJvvzDI4pZXbKTPpM MvYfNkNl1B6BKO+5ASam+NIegpNKlts7yLxqu8pBDUWLA9A4cLwMNqShAf85/iU9jwJ7 TwNNLDnNIx5vj5C12a1JlqqWVAdt/XvYrV1A14CIbIBXwsUSxBsnM8LWGgt4r7FwQ8iT yGzg== X-Gm-Message-State: AOJu0YwQavaKCWTWvfnNXsPTLJQrJrVU7ZnpEnB8yUgR67ENYz78qQyl 4ba6uu5AtGac0k9uv/1O22x15LOXv9JNPMoMAeZmhPc2ErzWm1eSm+FBbaLf X-Google-Smtp-Source: AGHT+IGRghiuy/08Z7+mNwvzqLx3HCsjey1ZR7W/ePBQTGWzXHV3UelYK/tX7Fbt54nxwRGzgng0hg== X-Received: by 2002:a05:6402:210b:b0:5c5:c447:e4c0 with SMTP id 4fb4d7f45d1cf-5c8824ccc05mr12095621a12.4.1727742353606; Mon, 30 Sep 2024 17:25:53 -0700 (PDT) Received: from localhost.localdomain ([176.12.188.220]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5c8824056adsm5179335a12.17.2024.09.30.17.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 17:25:53 -0700 (PDT) From: Isaac Boukris To: dev@dpdk.org Cc: stephen@networkplumber.org, bruce.richardson@intel.com, roretzla@linux.microsoft.com, dmitry.kozliuk@gmail.com, david.marchand@redhat.com, Isaac Boukris Subject: [PATCH v3 0/2] Improve TSC frequency accuracy on Linux Date: Tue, 1 Oct 2024 03:22:49 +0300 Message-ID: <20241001002527.277838-1-iboukris@gmail.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240921140022.107239-1-iboukris@gmail.com> References: <20240921140022.107239-1-iboukris@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Changes in V3: - fixed ifdef logic. - avoid breaking a debug line. Isaac Boukris (2): timer/linux: lower rounding of tsc estimation to 100KHz timer/linux/x86: override TSC freq if no tsc_known_freq lib/eal/common/eal_common_timer.c | 3 +- lib/eal/common/eal_private.h | 2 +- lib/eal/freebsd/eal_timer.c | 5 ++- lib/eal/linux/eal_timer.c | 59 +++++++++++++++++++++++++++---- lib/eal/windows/eal_timer.c | 5 ++- 5 files changed, 63 insertions(+), 11 deletions(-) -- 2.45.0