linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clocksource change of behavior in 2.6.22 compared to 2.6.20 causes massive system clock slowdown
@ 2007-07-09 14:27 Alessandro Suardi
  2007-07-10  7:29 ` Andrew Morton
  0 siblings, 1 reply; 9+ messages in thread
From: Alessandro Suardi @ 2007-07-09 14:27 UTC (permalink / raw)
  To: Linux Kernel Mailing List

My oldish AMD K7-800's clock began falling behind after
 rebooting from 2.6.20 (and 109 days uptime with a spotless
 clock) into 2.6.22; time lost is about four minutes each hour.

Turns out that 2.6.22 marks my TSC as unstable and starts
 using PIT instead. Rebooting 2.6.22 with clocksource=tsc
 gets the original stable system time back.

Not sure whether this is supposed to be the default way of
 fixing the issue on older machines, though; if anyone sees
 a problem with this, I'm up for providing more information.

[root@donkey ~]# cd /sys/devices/system/clocksource/clocksource0/
[root@donkey clocksource0]# cat available_clocksource
pit jiffies tsc
[root@donkey clocksource0]# cat current_clocksource
tsc
[root@donkey clocksource0]# uname -a
Linux donkey 2.6.22 #1 PREEMPT Mon Jul 9 13:26:38 CEST 2007 i686
athlon i386 GNU/Linux
[root@donkey clocksource0]# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 800.068
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1603.17
clflush size    : 32


thanks, ciao,

--alessandro

 "Did you get married but forgot to get divorced ?"

     (Danny and Dusty, 'The Good Old Days')

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-07-18 21:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 14:27 clocksource change of behavior in 2.6.22 compared to 2.6.20 causes massive system clock slowdown Alessandro Suardi
2007-07-10  7:29 ` Andrew Morton
2007-07-10 17:28   ` john stultz
2007-07-10 23:31     ` Alessandro Suardi
2007-07-11 21:06       ` john stultz
2007-07-12 11:03         ` Tilman Schmidt
2007-07-17 22:31         ` Alessandro Suardi
2007-07-17 22:40           ` john stultz
2007-07-18 21:31             ` Alessandro Suardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).