new version of polling for FreeBSD 6.x
Fabien THOMAS
fabien.thomas at netasq.com
Sat Sep 8 01:08:25 PDT 2007
Le 8 sept. 07 à 01:05, Andre Oppermann a écrit :
> Mike Tancsa wrote:
>> On Thu, 6 Sep 2007 15:12:06 +0200, in sentex.lists.freebsd.net you
>> wrote:
>>> After many years of good services we will stop using FreeBSD 4.x :)
>>> During my performance regression tests under FreeBSD 6.2 i've
>>> found that polling has lower performance than interrupt.
>>> To solve that issue i've rewritten the core of polling to be more
>>> SMP ready.
>> Hi,
>> This is really interesting work! Reading the pdf file, it
>> seems forwarding performance on 6 and 7 is still much lower than
>> RELENG_4 ? is that correct ?
>
> Haven't tested RELENG_4 performance in a controlled environment and
> thus can't answer the question directly. However using fastforward
> on 6 and 7 is key to good performance. Without it you're stuck at
> some 150-200kpps, perhaps 300kpps. With it you get to 500-800kpps.
Using net.isr.direct is the key success and can get much better
forwarding rate (intermediate queue kill the performance).
i aggree than using fastforwarding gets another big step because
there is a lot less code than on the IP stack:
FreeBSD 6.2 using fastforward on 64bytes packets (L3 Mb/s):
pollng 1CPU: 156
pollng 2CPU: 123
intr: 144
pollng 1CPU fastfwd: 221
pollng 2CPU fastfwd: 270
intr fastfwd: 211
Fabien
>
> --
> Andre
>
>> ---Mike
>>> You can find a summary of all my tests and the source code at
>>> the following address:
>>> http://www.netasq.com/opensource/pollng-rev1-freebsd.tgz
>>>
>>> Feel free to ask more detailed information if necessary and
>>> report any bugs / comments.
>>>
>>> Fabien
>>>
>>>
>>> _______________________________________________
>>> freebsd-net at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to "freebsd-net-
>>> unsubscribe at freebsd.org"
>> --------------------------------------------------------
>> Mike Tancsa, Sentex communications http://www.sentex.net
>> Providing Internet Access since 1994
>> mike at sentex.net, (http://www.tancsa.com)
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-
>> unsubscribe at freebsd.org"
>
>
More information about the freebsd-net
mailing list