Re: [PATCH] Dynamic tick, version 050127-1

From: Tony Lindgren
Date: Tue Feb 01 2005 - 15:43:03 EST


* Pavel Machek <pavel@xxxxxxx> [050201 03:03]:
> Hi!
>
> > Thanks for all the comments, here's an updated version of the dynamic
> > tick patch.
> >
> > I've fixed couple of things:
> >
> > - Dyn-tick now supports local APIC timer. This allows longer sleep time
> > inbetween ticks, over 1000 ticks compared to 54 ticks with PIT timer.
> > It seems to stop timers on SMP too, but I've only briefly played with
> > it on SMP.
>
> I used your config advices from second mail, still it does not work as
> expected: system gets "too sleepy". Like it takes a nap during boot
> after "dyn-tick: Maximum ticks to skip limited to 1339", and key is
> needed to make it continue boot. Then cursor stops blinking and
> machine is hung at random intervals during use, key is enough to awake
> it.

Hmmm, that sounds like the local APIC does not wake up the PIT
interrupt properly after sleep. Hitting the keys causes the timer
interrupt to get called, and that explains why it keeps running. But
the timer ticks are not happening as they should for some reason.
This should not happen (tm)...

I've noticed that the only machine I have with ACPI C2/C3 support
does not do anything in the C2/C3 loops, it just spins around and
consumes more power than in C1 with hlt!

That's because we currently don't have any code to enable the C2/C3
states in the southbridges on many Athlon boards. It's the same
problem on my Crusoe laptop ALi 1533 chipset.

I think we should have some ACPI code that scans the southbridges,
and sets them up with C2/C3 enable functions that can be
enabled/disabled via /sys.

Does anybody happen to have documentation for the ALi 1533, 1535
or M7101 chipset, BTW? I'd like to know how to enable the C2/C3
on it.

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