Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 07:09:51 +1000
From:      Andrew Snow <andrew@modulus.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Interrupts + Polling mode (similar to Linux's NAPI)
Message-ID:  <49F7709F.1020409@modulus.org>
In-Reply-To: <20090428150739.GC8430@onelab2.iet.unipi.it>
References:  <36906055-E1AE-486B-BA77-D260E0609BBB@netasq.com>	<50451.74235.qm@web63901.mail.re1.yahoo.com> <20090428150739.GC8430@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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?49F7709F.1020409>