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 EAC2D45AA0; Thu, 3 Oct 2024 17:13:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 780B3402B1; Thu, 3 Oct 2024 17:13:40 +0200 (CEST) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id 09CEA4025E for ; Thu, 3 Oct 2024 17:13:38 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-20b01da232aso8886675ad.1 for ; Thu, 03 Oct 2024 08:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1727968418; x=1728573218; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=bb2f79mqU4eY9cIB1ctCrlAo0nvZME4RIRr78tMKg4A=; b=FK9XIHOvu2ipmsh4NrSUbi1OaZoxkOlTKOQcsaIvQf0jEue+OtDbxWIaMCXOJI7kw/ JwXq4aRnAXuVuTKuYmsbcFg6i2xGemhVswXeFJR9zfDKxXyYxrkZajXWdXVIz8qxqQC7 6m8I3d6ZpSv0WSzCaIQJBNj/1h63b2HjNqlqClGNPaRid1u5liNpupqKL6/MZuBqwAvv XK6mq+IdnH/rJN0grBLapJVorTaMO0qETg8Kuep4NVlmGyPOtNVZ76y3TPsil0pqQB1V ZgcVYSThhPqdGhEveywv9MXhntZsJjheYwpyW9o6y5MpKd4vDZs12hM02xCTD2EhHJma +bMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727968418; x=1728573218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bb2f79mqU4eY9cIB1ctCrlAo0nvZME4RIRr78tMKg4A=; b=FT8m34Va4KuzJZ1zUtUJuoRP91afOB2RCOsXNQO77jOR2WmpU5aXlboqgs2qjSvhIQ iTgjm6QJjE4R7Hx8mWxkaGRdPXsIR8NvCpp21fNEPatmZjVoN9LBDB78pdq85mizMqQp wIf1gHR/L7UHz96i5F3gDBigptRtHlLC5Jz/A9ujKv1hGf8+F0l/yOjgCxYLnfgZyQDE sO9hEOgnDHEXa0ZWO8GY/Stzz+OYlD6wtslljjXvGEOp4PFlVy7M4wcE8yJx6+vSddO0 RGb9pCxmDfcqRohP2C9KWRVVwtuf1/1MGHT48dKrx3NwxyfvpQuQySv+OtntaUyKL/bh GTAA== X-Forwarded-Encrypted: i=1; AJvYcCUsNA1jbgBkb9ZhD0Q+lqH0+gZAGvinbjuzx57t7wUhgcHj6grUhDSvjKYdubHUMRRYjbE=@dpdk.org X-Gm-Message-State: AOJu0YxyIwh3tGWJ2k/CMomgkY6ZjPLEA+/FMyvIcCVL/lBwXKoxSfyI WkRtLOVvDicJ7pvfd2yhx9q3vhkPdkMX3iH00e96jtVPn6p04YQxiFmnvModrl4= X-Google-Smtp-Source: AGHT+IEVkxUMmaZuO7g1nBAMIEh4H8VcTi6v0AGrtpFhkiP9OfFMC7AFoHix+XEFbKm5I8qSJdvvPg== X-Received: by 2002:a17:903:11c3:b0:20b:5ef8:10a6 with SMTP id d9443c01a7336-20be18fa810mr56686985ad.8.1727968417859; Thu, 03 Oct 2024 08:13:37 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20beef8dfc2sm9979365ad.147.2024.10.03.08.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:13:37 -0700 (PDT) Date: Thu, 3 Oct 2024 08:13:36 -0700 From: Stephen Hemminger To: Bruce Richardson Cc: Isaac Boukris , , , , Subject: Re: [PATCH v5 1/2] timer: lower rounding of TSC estimation to 100KHz Message-ID: <20241003081336.2f201beb@hermes.local> In-Reply-To: References: <20240921140022.107239-1-iboukris@gmail.com> <20241003122819.354499-1-iboukris@gmail.com> <20241003122819.354499-2-iboukris@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 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