Re: Interrupt statistics?

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Mon, 13 Oct 2003 22:55:19 -0600 (MDT)
In message: <20031013105145.J28323_at_root.org>
            Nate Lawson <nate_at_root.org> writes:
: Given that, my biggest concern now is IO corruption.  Are there any
: devices that have a low interrupt rate (or bus mastering rate) that cannot
: handle a few hundred us latency added to their handler startup?  I'm
: thinking something like a floppy drive where the time between interrupts
: is great enough that cpu_idle() is called but that need to be serviced
: quickly or data is over/underrun.

sio/uart

At 115200 baud, you have 173us to service the interrupt when the FIFO
interrupt level is set to HI.  At 460800 at HI you have 43us.  With
the more conservative MED settings, these numbers are 4 times better
(670us and 173us).  200us is smack dab in the middle of these times.
This is inbound data, so things could be idle and there be issues.

Not sure about other devices.

Warner
Received on Mon Oct 13 2003 - 19:57:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:25 UTC