poll()/select()

John Baldwin jhb at freebsd.org
Tue Nov 22 18:46:22 GMT 2005


On Tuesday 22 November 2005 04:19 am, Konstantin Prokazoff wrote:
> Welcome,
>
>     John, thanks for the answer. I'll test today bus_setup_intr() without
> INTR_FAST flag, but how I remember, this cause to system heavy load for
> interrupt processing ;( in my case.
>     My handler uses spin mutexes to block inter-interrupting & sleep
> mutexes to block some structures now. I have tried to use swi/taskqueue,
> but result is a "sync" degradation level.
>     Can you help with sources briefing in my driver case?
>     Thnx in advance.

Well, I'm not quite sure what you mean by "sync" degradation level for 
starters, but I'm not much an expert on synchronous serial devices.  What 
kind of load are you seeing on your system with the non-INTR_FAST handler?  
And what kind of system (CPU, etc.) are you running FreeBSD on?

> > >     I have this situation cause to INTR_FAST interrupt handler in
> > > device driver for Digium's PCI board, which provides 4 T1/E1
> > > interfaces.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list