PDA

View Full Version : Inaccurate time problem SOLVED (was Slimbox-Newbie withquestions)



Christian Pernegger
2005-02-26, 02:54
Hi again and sorry to reply to myself ...

The problems that I had, i. e.
- strange behaviour of the "next letter" timeout in searches via remote
- displayed stuff on the squeezebox vanishing too quickly
- wildly fluctuationg time with the daylight screensaver

were all caused by a glitch in the server's time source. A 'watch -n 1 -d
ntptime', while crude, showed the same skewed results. Apparently most
reasonably modern CPU have TSC capability, which basically means using the
CPU's clock generator as an accurate time source. I had 'AMD 76x native
power management' in my .config, which seems to change frequency on the fly
without notifying the timers -> go figure.
The same could happen with any other kind of non-cpufreq throttling - if you
don't want to disable it, disabling TSC altogether (kernel option + notsc
boot option) works, but is not recommended.

C.