From: john stultz <johnstul@us.ibm.com>
To: Alessandro Suardi <alessandro.suardi@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: clocksource change of behavior in 2.6.22 compared to 2.6.20 causes massive system clock slowdown
Date: Wed, 11 Jul 2007 14:06:19 -0700 [thread overview]
Message-ID: <1184187980.1513.5.camel@localhost> (raw)
In-Reply-To: <5a4c581d0707101631g40fcdcd2m3d6b2f448a4c8cee@mail.gmail.com>
On Wed, 2007-07-11 at 01:31 +0200, Alessandro Suardi wrote:
> On 7/10/07, john stultz <johnstul@us.ibm.com> wrote:
> > On Tue, 2007-07-10 at 00:29 -0700, Andrew Morton wrote:
> > > 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.
> >
> > Alessandro,
> > Can you send me dmesg output for 2.6.20 and 2.6.22 (without
> > clocksource=tsc)?
>
> Actually, I lied a little bit - it was 2.6.22 with clock=tsc (which
> warns on boot about clock= being deprecated in favor of
> clocksource= ). I assume behavior is identical for now.
>
> Please find attached the dmesg ring (incomplete, as the
> kernel ring size I have seems too small to hold the full
> buffer, but it seems to have all the interesting stuff) of
> 2.6.20, 2.6.22, 2.6.22 with clock=tsc.
>
> If you need more info, just ask. I'll be out of the country
> from July 12 to the morning of July 16, and again from
> July 17 to July 20, so if you'd rather get at this later on,
> it's okay for me ;)
You're dmesg output got chopped at the top. Please increase the kernel
log buffer size.
Sounds like your PIT frequency is out of whack, and I'm guessing the
generic clocksource watchdog blames the TSC and disqualifies it.
Few things to check:
1) Make sure you're running the latest BIOS.
2) See if booting w/ noapic changes anything
-john
next prev parent reply other threads:[~2007-07-11 21:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=1184187980.1513.5.camel@localhost \
--to=johnstul@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=alessandro.suardi@gmail.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