From: Thomas Gleixner <tglx@linutronix.de>
To: Andrew Morton <akpm@osdl.org>
Cc: Ingo Molnar <mingo@elte.hu>, teunis <teunis@wintersgift.com>,
linux-kernel@vger.kernel.org, Dmitry Torokhov <dtor@mail.ru>,
john stultz <johnstul@us.ibm.com>
Subject: Re: various laptop nagles - any suggestions? (note: 2.6.19-rc2-mm1 but applies to multiple kernels)
Date: Sat, 21 Oct 2006 11:49:07 +0200 [thread overview]
Message-ID: <1161424147.5274.400.camel@localhost.localdomain> (raw)
In-Reply-To: <20061020182527.a07666a4.akpm@osdl.org>
On Fri, 2006-10-20 at 18:25 -0700, Andrew Morton wrote:
> On Fri, 20 Oct 2006 22:56:51 +0200
> Ingo Molnar <mingo@elte.hu> wrote:
>
> >
> > * Andrew Morton <akpm@osdl.org> wrote:
> >
> > > Oh. I thought the problem was that the timer stops when the CPU is
> > > idle. Maybe I misremembered. I'll try `idle=poll'.
> >
> > hm, wouldnt in that case the box not boot at all? But yeah, idle=poll
> > would be nice.
>
> idle=poll fixes it. The fan gets a bit noisy though ;)
So this is one of the boxen where C2 is actually C3 and lapic stops in
C3 mode. Probably BIOS magic.
What's the output of /proc/acpi/processor/CPU0/power ?
> Perhaps a suitable test would be to set up a PIT interrupt, do a hlt, see
> if the APIC timer counter has increased appropriately.
Yeah, but it has to be done later in the boot process. Looking into this
right now.
> I got this:
>
> [ 43.709238] TSC appears to be running slowly. Marking it as unstable
>
> How come? It also happens with HIGH_RES_TIMERS=n and NO_HZ=n. It only
> seems to happen when idle=poll is given.
Should happen always as the TSC is driven by the CPU clock and you have
CPUFREQ enabled.
> > could you also boot with apic=verbose and send us the full bootlog?
>
> http://userweb.kernel.org/~akpm/apic.txt
[ 11.515305] calibrating APIC timer ...
[ 11.618612] ..... tt1-tt2 831283
[ 11.618614] ..... mult: 35701101
[ 11.618616] ..... calibration result: 532021
[ 11.618619] ..... CPU clock speed is 1995.0325 MHz.
[ 11.618622] ..... host bus clock speed is 133.0021 MHz.
That looks reasonable. It really boils down to the lapic not working
when going idle.
tglx
next prev parent reply other threads:[~2006-10-21 9:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-19 16:05 various laptop nagles - any suggestions? (note: 2.6.19-rc2-mm1 but applies to multiple kernels) teunis
2006-10-20 2:41 ` Andrew Morton
2006-10-20 16:30 ` teunis
2006-10-20 18:07 ` Andrew Morton
2006-10-20 18:13 ` Thomas Gleixner
2006-10-20 18:26 ` Andrew Morton
2006-10-20 18:37 ` Thomas Gleixner
2006-10-20 18:46 ` Thomas Gleixner
2006-10-20 19:15 ` Andrew Morton
2006-10-20 20:37 ` Ingo Molnar
2006-10-20 20:54 ` Andrew Morton
2006-10-20 20:56 ` Ingo Molnar
2006-10-21 1:25 ` Andrew Morton
2006-10-21 9:49 ` Thomas Gleixner [this message]
2006-10-22 21:22 ` Thomas Gleixner
2006-11-08 7:19 ` Andrew Morton
2006-11-08 22:28 ` Thomas Gleixner
2006-10-21 14:52 ` Arjan van de Ven
2006-10-20 19:13 ` Dmitry Torokhov
2006-10-20 22:26 ` teunis
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=1161424147.5274.400.camel@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=akpm@osdl.org \
--cc=dtor@mail.ru \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=teunis@wintersgift.com \
/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