Re: io apic + tsc = slowdown (bugreport + possible fix)

From: john stultz
Date: Mon Jun 28 2004 - 19:11:09 EST


On Mon, 2004-06-28 at 00:27, Frederic Krueger wrote:
> just wanted to point out the patch I imported from an older version of
> the 2.6.x kernel (not done by me at all ;-)).
> It's basically causing the system to a near zero slowdown after one hour
> of uptime. And the reason for it must be the io_apic irq0 handling with
> TSC enabled systems (seems to show up on ibm pre-built boxes more often
> than on others though).
> Funnily pressing any keys _all the time_ works around for this for the
> time a key is pressed ;)

I duped the bug to 2544. I've got the BIOS folks looking at this issue
on the x305 for the proper fix.

Looking closer at the proposed workaround by Maciej posted here:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-04/3174.html

Why exactly are we using cpu_has_tsc to switch this? I'm not sure I'm
following how this is TSC dependent. Additionally the comment change
looks to be from the 2.4 era.

Maciej, could you further explain?

thanks
-john


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