Re: x86-tip tsc/tick gripage

From: Mike Galbraith
Date: Wed Apr 26 2017 - 05:02:05 EST


On Wed, 2017-04-26 at 10:31 +0200, Mike Galbraith wrote:
> On Wed, 2017-04-26 at 10:21 +0200, Ingo Molnar wrote:
>
> > I have temporarily removed the current timers/urgent lineup from -tip:
> >
> > 098991fccfc7: nohz: Print more debug info in tick_nohz_stop_sched_tick()
> > 22aa2ad45fd8: tick: Make sure tick timer is active when bypassing reprogramming
> > d58bd60c773d: nohz: Fix again collision between tick and other hrtimers
> >
> > ... and have reintegrated tip:master, so it should be back to working I think.
> >
> > Does this solve the warning and the RCU stalls on your boxes?
>
> (both boxen building)

(oh come on, boot already... zzz)

Both still lose their TSC.

[ 11.982468] tsc: Refined TSC clocksource calibration: 2260.999 MHz
[ 11.994275] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x20974a4d8bb, max_idle_ns: 440795246623 ns
[ 13.064172] clocksource: Switched to clocksource tsc
[ 240.247851] clocksource: timekeeping watchdog on CPU23: Marking clocksource 'tsc' as unstable because the skew is too large:
[ 240.462501] clocksource: 'tsc' cs_now: 108fe5be09f cs_last: b90a6a0676 mask: ffffffffffffffff
[ 240.675057] tsc: Marking TSC unstable due to clocksource watchdog

[ 349.192460] clocksource: timekeeping watchdog on CPU63: Marking clocksource 'tsc' as unstable because the skew is too large:
[ 349.217756] clocksource: 'hpet' wd_now: 2bb0dad7 wd_last: 5d9ac241 mask: ffffffff
[ 349.239021] clocksource: 'tsc' cs_now: d2413ebfc1c28 cs_last: d2387b328a38c mask: ffffffffffffffff
[ 349.263525] sched_clock: Marking unstable (349228856508, 34664619)<-(351146178141, -1882657014)
[ 349.283245] tsc: Marking TSC unstable due to clocksource watchdog
[ 349.298075] clocksource: Switched to clocksource hpet