From: "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
To: "dev@dpdk.org" <dev@dpdk.org>,
Bruce Richardson <bruce.richardson@intel.com>
Cc: Maria Lingemark <maria.lingemark@ericsson.com>
Subject: Bogus TSC frequency on Skylake
Date: Tue, 24 May 2022 14:11:15 +0000 [thread overview]
Message-ID: <a630c4cb-e806-0898-f3a0-61c85cabedb0@ericsson.com> (raw)
Hi.
I just wanted to call to attention the bug
https://bugs.dpdk.org/show_bug.cgi?id=959
A drift of 0.1% on (certain?) Skylake Xeons is pretty significant, and
will force some applications to use the slower clock_gettime() syscall
instead of rte_get_timer_cycles() to retrieve wall time.
I can look into if we can provide a patch, but I'm guessing certain
Intel employees are in a better position to find out which CPUs you can
trust the reported TSC frequency, and which you cannot.
Also, the rounding to an even 10 MHz (for the fallback TSC calculation)
should probably go away, since the TSC rate doesn't seem to come in such
steps any more.
Regards,
Mattias
reply other threads:[~2022-05-24 14:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a630c4cb-e806-0898-f3a0-61c85cabedb0@ericsson.com \
--to=mattias.ronnblom@ericsson.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=maria.lingemark@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).