linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AW: interrupt latency
@ 2002-08-28 16:49 Wessler, Siegfried
  0 siblings, 0 replies; only message in thread
From: Wessler, Siegfried @ 2002-08-28 16:49 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

Hello again,

> Alan Cox [mailto:alan@lxorguk.ukuu.org.uk] wrote:
> 
> I would expect port 0x378 on any modern PC to be on the X-bus 
> not on ISA

Right, so it is fast enough for a quick test.


Actually I don't know where this thread has lead us. Was it really me who
typed the reference line? Anyhow. :->


When I was talking about interrupt latency, I ment this:

I do a hardware interrupt, use it as trigger on an oscilloscope, then
measure how long it takes until the printer port showbit shows up. (Ha! An
oscilloscope is fine for timing measurements!) The printer port is handled
first in the irq_function of my driver. That kind of "latency" I was talking
about. The jitter I get (because of NMI functions and more) I can guess by
changing the persistance of the oscilloscope.

And to those who think that the printer port might be to slow for that kind
of measurement, I did the same with a showbit I set on a PCI device (a PLD I
know the inside). That one is nanoseconds fast, so no relevant delay.

Okay, the kernel takes at least 8 microseconds time to "tell" the kernel
driver function that an interrupt is there. So my question still is: How
should I trace thru the kernel source after a hardware interrupt is there?

(I am running a Pentium-like ETX with 266 MHz CPU clock. Single CPU.)

But thanks for all helps, hints and interesting discusses!


Siegfried Wessler.

BTW: You can get down to 1ms jiffies without RT Linux easily ;-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-28 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28 16:49 AW: interrupt latency Wessler, Siegfried

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).