Date: Tue, 19 Apr 2011 16:55:27 +0300 From: Nikolay Denev <ndenev@gmail.com> To: K. Macy <kmacy@freebsd.org> Cc: freebsd-net@freebsd.org, Ingo Flaschberger <if@freebsd.org> Subject: Re: Routing enhancement - reduce routing table locking Message-ID: <E4328014-47D0-4EFC-8C70-5D28823179C8@gmail.com> In-Reply-To: <BANLkTim6HMGibDB4ucs%2BtEfqv-LBnF4O-w@mail.gmail.com> References: <alpine.LRH.2.00.1104050303140.2152@filebunker.xip.at> <alpine.LRH.2.00.1104061426350.2152@filebunker.xip.at> <alpine.LRH.2.00.1104180051450.8693@filebunker.xip.at> <BANLkTik39HvVire6Hzi9U6J2BwKV7apCCg@mail.gmail.com> <alpine.LRH.2.00.1104181852420.8693@filebunker.xip.at> <BANLkTim0hoHDnrweYz%2Bvc7zOvMubddJmGg@mail.gmail.com> <BANLkTim6HMGibDB4ucs%2BtEfqv-LBnF4O-w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >=20 > Thus, the fairly low transmit rate may be attributable to driver = locking. >=20 > 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E4328014-47D0-4EFC-8C70-5D28823179C8>