Date: Tue, 28 Apr 2009 23:31:41 +0200 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Andrew Snow <andrew@modulus.org> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: Interrupts + Polling mode (similar to Linux's NAPI) Message-ID: <20090428213141.GC20530@onelab2.iet.unipi.it> In-Reply-To: <49F7709F.1020409@modulus.org> References: <36906055-E1AE-486B-BA77-D260E0609BBB@netasq.com> <50451.74235.qm@web63901.mail.re1.yahoo.com> <20090428150739.GC8430@onelab2.iet.unipi.it> <49F7709F.1020409@modulus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 29, 2009 at 07:09:51AM +1000, Andrew Snow wrote: > Luigi Rizzo wrote: > >If i am not mistaken we don't have generic support for interrupt moderation > >in the kernel but that's a specific NIC feature: it works if the > >hardware supports it, and it doesn't otherwise. > > > >Of course it would be possible to modify polling to implement > >generic interrupt mitigation even without hardware support, so > >you get the best of the two worlds. > > It seems to me that you're wasting your time if you are trying to > achieve a high throughput in FreeBSD without using an Intel Pro/1000 or > 10gbe networking card. this is a very partial view of the world. the point is not getting a speed record but making the system work well on a wide variety of hardware. improving other parts of the network flow is nice and useful but it still does not address livelock and the problems that interrupt mitigation or polling are dealing with. cheers luigi > So I don't know if anyone would really miss out if generic polling > support was completely removed from the kernel and all efforts were then > placed into improving other parts of network flow in the kernel which > need more help. > > > - Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090428213141.GC20530>