Accuracy of rte_get_tsc_hz() compared to linux
Stephen Hemminger
stephen at networkplumber.org
Thu Sep 19 23:53:50 CEST 2024
On Thu, 19 Sep 2024 01:04:40 +0300
Isaac Boukris <iboukris at gmail.com> wrote:
> Hi,
>
> On Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz (see lscpu output at the end).
>
> The rte_get_tsc_hz() returns 2100000 KHz but using it causes our
> timestamps to lag behind real time (roughly a sec per 10 min). I
> noticed the kernel uses 2095082 KHz and in fact it gives much better
> results.
FYI there is a bug from 2022 about this:
https://bugs.dpdk.org/show_bug.cgi?id=959
More information about the users
mailing list