What is "Fast task queue"? (Was: How to understand what `swi5' kernel thread does?)

John Baldwin jhb at freebsd.org
Tue Aug 28 11:45:44 UTC 2012


On Monday, August 27, 2012 4:47:13 pm Lev Serebryakov wrote:
> Hello, John.
> You wrote 27 августа 2012 г., 20:26:03:
> 
> >>  What "fast tasks" are performed via this queue? Under network load it
> >> is main consumer of CPU.
> JB> Certain NIC drivers perform much of their interrupt handling in that 
thread.
>   Yep,  I've found, that my if_vr uses it. One more question: does ipfw
>  rules works in same thread? I have ``net.isr.dispatch="direct"'' set.

Yes, with the default setting of direct dispatch, all of the receive
side of the network stack runs in the driver's interrupt handler.  In
the case of vr(4) that would be in this thread.

-- 
John Baldwin


More information about the freebsd-current mailing list