Subject: Re: splx() optimization [was Re: SMP re-eetrancy in "bottom half"
To: None <jonathan@dsg.stanford.edu>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/08/2005 09:14:39
> >what you're saying here is that you want performance but
> >are not intersted in necessary work (== audio).
> >i don't think it's reasonable.
> 
> Audio drivers have kHz sample rates and generally handle DMA buffers
> with some nontrival number of samples. 10GbE ethernet NICs deliver
> 800,000 1500-byte packet per second. You seriously think you can put
> an onus on a developer, that working on the low-rate audio problem is
> a pre-requisite to tackling the 10GbE problem?
> 
> That strikes me as indefensible.

interrupt rate is not important at all.
the fact it can interrupt IPL_NET code is important.

Jonathan, i can understand your frustration.
however, i don't think there is a sane shortcut.

you can tackle network code today as i said in another mail.
(http://mail-index.NetBSD.org/tech-kern/2005/06/07/0014.html)
is there any compelling reason not to do so?

YAMAMOTO Takashi