Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 07:44:23 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        lev@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: What is "Fast task queue"? (Was: How to understand what `swi5' kernel thread does?)
Message-ID:  <201208280744.23419.jhb@freebsd.org>
In-Reply-To: <1758728845.20120828004713@serebryakov.spb.ru>
References:  <135297243.20120827061957@serebryakov.spb.ru> <201208271226.03496.jhb@freebsd.org> <1758728845.20120828004713@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, August 27, 2012 4:47:13 pm Lev Serebryakov wrote:
> Hello, John.
> You wrote 27 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2012 =D0=B3., 20:=
26:03:
>=20
> >>  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=
=20
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=3D"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.

=2D-=20
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208280744.23419.jhb>