DPDK patches and discussions
 help / color / mirror / Atom feed
* Bogus TSC frequency on Skylake
@ 2022-05-24 14:11 Mattias Rönnblom
  0 siblings, 0 replies; only message in thread
From: Mattias Rönnblom @ 2022-05-24 14:11 UTC (permalink / raw)
  To: dev, Bruce Richardson; +Cc: Maria Lingemark

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-24 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 14:11 Bogus TSC frequency on Skylake Mattias Rönnblom

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).