public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux interrupt latency
@ 2001-02-06  5:29 Mark Spencer
  2001-02-06  6:26 ` Linus Torvalds
  2001-02-06 14:32 ` Andrew Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Mark Spencer @ 2001-02-06  5:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: jim

I'm working on the Linux driver for the Tormenta public domain dual T1
card (see http://www.bsdtelephony.com.mx).  This card is a controllerless
ISA T1 card with no memory, meaning the host CPU must load the next 48
outgoing bytes and read the previous 48 incoming bytes off the ISA bus
8000 times per second (every 125 microseconds).  Further, because the
buffers are constantly being overwritten by the card, the actual interrupt
handler must run within 4-28 microseconds from when the card issues the
interrupt.


On my primary test machine, a Pentium II, 450Mhz, with Intel 430BX
chipset, the board runs fine with both IDE and SCSI drives (note: DMA must
be turned on for the IDE drives).  However, on other chipsets, like VIA,
the card misses 2-3 interrupts every 7989-7991 samples (almost exactly*
one second).  Further, even with DMA turned on, the IDE disk definitely
kills the interrupt latency entirely.  

Oh, and as a side note...  The card works flawlessly in FreeBSD (although
only with SCSI) and definitely does not have 7989 sample problem.  The
problem occurs with both Linux 2.2.16 and 2.4.0...

Can anyone suggest what might be causing the problem on non-Intel
chipsets, particularly what event might be occuring once per second and
disabling interrupts for a couple of hundred microseconds?  Thanks!

Mark


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-02-06 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-06  5:29 Linux interrupt latency Mark Spencer
2001-02-06  6:26 ` Linus Torvalds
2001-02-06 14:04   ` Steve Underwood
2001-02-06 14:15     ` Alan Cox
2001-02-06 14:32 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox