mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Alessandro Suardi" <alessandro.suardi@gmail.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	john stultz <johnstul@us.ibm.com>
Subject: Re: clocksource change of behavior in 2.6.22 compared to 2.6.20 causes massive system clock slowdown
Date: Tue, 10 Jul 2007 00:29:35 -0700	[thread overview]
Message-ID: <20070710002935.f082b7c3.akpm@linux-foundation.org> (raw)
In-Reply-To: <5a4c581d0707090727q15eff62ax1fdb1271754cc2d2@mail.gmail.com>

On Mon, 9 Jul 2007 16:27:59 +0200 "Alessandro Suardi" <alessandro.suardi@gmail.com> wrote:

> 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
> 

(cc's added)

  reply	other threads:[~2007-07-10  7:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09 14:27 Alessandro Suardi
2007-07-10  7:29 ` Andrew Morton [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070710002935.f082b7c3.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=alessandro.suardi@gmail.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome