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 65BB945A7B; Tue, 1 Oct 2024 17:22:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31ADC402A7; Tue, 1 Oct 2024 17:22:19 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 0748C40299 for ; Tue, 1 Oct 2024 17:22:18 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-20ba733b6faso11914115ad.0 for ; Tue, 01 Oct 2024 08:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1727796137; x=1728400937; 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=KfJCxqIlO1S4hTRnjfSOU+6mx8q3x0O/W9sjQfrebEE=; b=mC1uwdCkaDv76a44l+ry22XDabPkR5/PTmT0OZrimnpQmeM5J/xtgBIOdCAKHKpXT5 fuQbBcfMB9/bc2noVWL5USO6Zvkhd1AJw3BKg5m5nO+SY5TMbzCuTO+woOkruGa3WaT8 3MckYIPfKEZZievskmgLQ5lhfCn1ag2DKyvr6aT7QI4z/ZwnFUPZmJmwJJ3rxIfYas4M EbdZxVWxV7CQHla9/ZRjz94cTIZJIEIWqVMhiGG0Rk8QJmbsCoMG1+dEOY/E6ipDCkOH bQ208MziDPqNXV68AxhihPHAZN8hRuHyoNdp8qjJLZj7c/WijKQO9/wyVhTaKx5qlJtc Itxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727796137; x=1728400937; 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=KfJCxqIlO1S4hTRnjfSOU+6mx8q3x0O/W9sjQfrebEE=; b=ARR3pDSwT2fT8GRdkUaaYUOT6X2mtiiZTpYuH+YadUa18aJQXG6RXMJhzbkR92e1Wr nECCczxNM7+ZtlWHX+ryot+YH1NS0Mxhllk+Tho0nHaTTX/i34so3ghXEkgOPvYnKwlr TrIQ2oEga/kbFSpliOUQqr4O6ZB+KKPOoogDkGtpZK8Eh5neZ89EQUCUPINi0TDPAtNi j0oNepfsAk1yoAM9JAaOqfEXqRTI2dHfK5F4zNnsvShMMOpPSzWAQTljH46KKTmtJ+5L acuolXUCz004vIobTqAjsfXzRR/pyy/aaSiXkvSNTfc6kYKY8t1IJ5djmmqTpFncspTz ybOQ== X-Gm-Message-State: AOJu0Yx1tEA/NdffidYIszZf0nSixQtY2c0+3PUQ7qtElL9Va6h6ENZq o3dCWJNYJYXH93Y/f/9l34kv69KvyVKBxk195CGDSkAnnVCIhabZv1ICkRP3fu8= X-Google-Smtp-Source: AGHT+IE0hE5bejqVBIAPD1/SpsSC+XES7brz/Kc1xUNnE+K5aBdWvn857530dvCuXzG315RjWV0cnQ== X-Received: by 2002:a17:902:ea0e:b0:20b:7deb:8516 with SMTP id d9443c01a7336-20bc5a10269mr172715ad.36.1727796137205; Tue, 01 Oct 2024 08:22:17 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20b54c6d95fsm55944535ad.222.2024.10.01.08.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 08:22:17 -0700 (PDT) Date: Tue, 1 Oct 2024 08:18:04 -0700 From: Stephen Hemminger To: Isaac Boukris Cc: dev@dpdk.org, bruce.richardson@intel.com, roretzla@linux.microsoft.com, dmitry.kozliuk@gmail.com, david.marchand@redhat.com Subject: Re: [PATCH v3 1/2] timer/linux: lower rounding of tsc estimation to 100KHz Message-ID: <20241001081804.1bf37605@hermes.local> In-Reply-To: <20241001002527.277838-2-iboukris@gmail.com> References: <20240921140022.107239-1-iboukris@gmail.com> <20241001002527.277838-1-iboukris@gmail.com> <20241001002527.277838-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 Tue, 1 Oct 2024 03:22:50 +0300 Isaac Boukris wrote: > In practice, the estimation result is 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: Stephen Hemminger