sys_fuzzMime-Version: 1.0

Kurt Roeckx kurt at roeckx.be
Wed Jan 25 17:25:09 UTC 2017


On Wed, Jan 25, 2017 at 02:12:05AM -0800, Hal Murray wrote:
> I think kernels went through 3 stages:
> 
> Old old kernels were very coarse.  They bumped the clock on an interrupt.  
> End of story.
> 
> Old kernels use the TSC (or equivalent) to interpolate between interrupts.  
> (A comment from Mills clued me in.  I was plotting temperature vs drift.  It 
> got a lot cleaner when I moved the temperature probe from the CPU crystal 
> over to the RTC/TOY clock crystal.  I haven't looked for the code.)
> 
> Current kernels don't use interrupts for keeping time.  It's all done with 
> the TSC.

All my real amd64 boxes show:
[    0.540511] Switched to clocksource hpet
[    3.327348] Switched to clocksource tsc

But my armel shows:
[    5.722800] Switching to clocksource orion_clocksource

A KVM guest shows:
[    0.392136] Switched to clocksource kvm-clock


Kurt



More information about the devel mailing list