Re: [patch 00/22] high resolution timers / dynamic ticks - V3

From: Andi Kleen
Date: Thu Oct 05 2006 - 16:58:20 EST


Ingo Molnar <mingo@xxxxxxx> writes:

> * Andrew Morton <akpm@xxxxxxxx> wrote:
>
> > With CONFIG_HIGH_RES_TIMERS=y, CONFIG_NO_HZ=n it's pretty sick. It
> > pauses for several seconds after "input: AlpsPS/2 ALPS GlidePoint as
> > /class/input/input2" (printk-time claims 2 seconds, but it was longer
> > than that).
> >
> > It's been stuck for a minute or more at the 12.980000 time, seems to
> > have hung. The cursor is flashing extremely slowly.
>
> ah, that's still the VAIO, right? Do you get a 'slow' LOC count on
> /proc/interrupts even on a stock kernel? If yes then that's a
> fundamentally sick local APIC timer interrupt. Stock kernel should show
> sickness too, if for example you boot an SMP kernel on it - can you
> confirm that? (the UP-IOAPIC only relies for profiling on the lapic
> timer, so there the only sickness you should see on the stock kernel is
> a non-working readprofile)

When I was hacking on my old noidletick patch I ran into this
problem on several machines too.

But usually the problem wasn't that it was too slow, but that
it completely stopped in C2 or deeper. I don't think there
is a way to work around that except for not using C2 or deeper
(not an option) or using a different timer source.

If that is true then hitting space lots of time will make it
go faster.

-andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/