Bogus TSC frequency on Skylake
    Mattias Rönnblom 
    mattias.ronnblom at ericsson.com
       
    Tue May 24 16:11:15 CEST 2022
    
    
  
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
    
    
More information about the dev
mailing list