Accuracy of rte_get_tsc_hz() compared to linux
Stephen Hemminger
stephen at networkplumber.org
Thu Sep 19 01:27:39 CEST 2024
On Thu, 19 Sep 2024 01:04:40 +0300
Isaac Boukris <iboukris at gmail.com> wrote:
> I've run the helloworld application on an isolated cpu:
> taskset -c 10 ./dpdk-helloworld --log-level=lib.eal:debug --no-huge
>
> The results are:
> EAL: TSC frequency arch ~2100000 KHz
> EAL: TSC frequency linux ~2095082 KHz
> EAL: TSC frequency estimate ~2095346 KHz
>
> The arch one is picked, which seems rather wrong, any way to override that?
> Should we lower the estimation rounding to 1MHz or even 1KHz in the linux one?
>
> Thoughts? Thanks!
>
> Kernel: 4.18.0-513.9.1.el8_9.x86_64
Note: 4.18 kernel was end of life 12 August 2018, I assume
this is RHEL8 which does their own backports and never changes kernel version.
What is the kernel dmesg, why is it deciding on that value?
More information about the users
mailing list