Routing enhancement - reduce routing table locking

Nikolay Denev ndenev at gmail.com
Tue Apr 19 13:55:34 UTC 2011


On Apr 18, 2011, at 8:59 PM, K. Macy wrote:
> It occurred to me that I should add a couple of qualifications to the
> previous statements. 1.6Mpps is line rate for GigE and I only know of
> it to be achievable by igb hardware. The most I've seen em hardware
> achieve is 1.1Mpps. Furthermore, in order to achieve that you would
> have to enable IFNET_MULTIQUEUE in the driver, because by default the
> driver uses the traditional (slow) IFQ as opposed overloading
> if_transmit and doing its own queueing when needed. Support for
> efficient multi-queue software queueing is provided by buf_ring, a
> lock-free multi-producer ring buffer written just for this purpose.
> 
> Thus, the fairly low transmit rate may be attributable to driver locking.
> 
> Cheers


Hi,

I'm not able to find IFNET_MULTIQUEUE in a recent 8.2-STABLE, is this something
present only in HEAD?


Regards,
Nikolay


More information about the freebsd-net mailing list