lkml.org 
[lkml]   [2016]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/9] x86: TSC calibration update
Len,

On Thu, 31 Mar 2016, Len Brown wrote:

> cpu_khz and tsc_khz initialization can be unreliable and expensive.
> They are initialized in tsc_init()/native_calibrate_tsc(), which prints:
>
> pr_info("Detected %lu.%03lu MHz processor\n", cpu_khz...)
>
> native_calibrate_cpu() first tries quick_pit_calibrate(),
> which can take over 50.0M cycles to succeed,
> or as few as 2.4M cycles to fail.
>
> On failure, pit_calibrate_tsc() is attempted, which can succeed
> in as few as 20M cycles, but may consume over 240M cycles
> before it fails.
>
> By comparison, on many processors, tsc frequency can be discovered by
> table and MSR or CPUID in under 0.002M cycles.

I found this in my backlog. Sorry for missing it.

The series does not apply anymore and the hardcoded family constants want to
be replaced by the new model defines.

Could you please resend?

Thanks,

tglx

\
 
 \ /
  Last update: 2016-06-10 16:01    [W:1.595 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site