Re: 2.5.69 Interrupt Latency

Andrew Morton (akpm@digeo.com)
Wed, 7 May 2003 15:28:56 -0700


Paul Fulghum <paulkf@microgate.com> wrote:
>
> 2.5.69
> Latency 100-110usec (5x increase)
> Spikes from 5-10 milliseconds
>
> This is all on a PCI adapter not sharing interrupts
> on a dual Pentium II-400 Netserver LC3.
>
> Any ideas what happened?

Could be that some random piece of code forgot to reenable interrupts, and
things stay that way until they get reenabled again by schedule() or
syscall return.

One way of finding the culprit would be:

my_isr()
{
if (this interrupt is more than 5 milliseconds delayed)
dump_stack();
}

the stack dump will point up at the place where interrupts finally got
enabled.

If you can describe what drivers are in use, and what workload triggers the
problem then it may be locatable by inspection.

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