Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2008 20:55:49 -0400
From:      Paul <paul@gtcomm.net>
To:        Mike Tancsa <mike@sentex.net>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, Ingo Flaschberger <if@xip.at>
Subject:   Re: Freebsd IP Forwarding  performance (question,	and some  info) [7-stable, current, em, smp]
Message-ID:  <48682F15.6070707@gtcomm.net>
In-Reply-To: <200806300034.m5U0YfsF077111@lava.sentex.ca>
References:  <4867420D.7090406@gtcomm.net> <alpine.LFD.1.10.0806291255480.7208@filebunker.xip.at> <4867A9A1.9070507@gtcomm.net> <alpine.LFD.1.10.0806300105170.10999@filebunker.xip.at> <48681A3D.9040509@gtcomm.net> <alpine.LFD.1.10.0806300214210.10999@filebunker.xip.at> <200806300034.m5U0YfsF077111@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
I tried this.. I put  6-STABLE (6.3), using default driver was slower 
than FBSD7
I tried yandex driver 1.36 and it was even worse.. It would make the 
machine unresponsive and drop more packets than the default driver.
It would  make 'top' show cpu's were 300% idle and a command such as 'w' 
would take 5 minutes to respond so obviously something is wrong with 
this driver :/
In the em taskq does it do all the routing also? Can the received 
packets be accepted with em0 taskq and dumped into another multi 
threaded thing which will do the routing and send it to the output taskq?



Mike Tancsa wrote:
> At 08:16 PM 6/29/2008, Ingo Flaschberger wrote:
>> Dear Paul,
>>
>>> Yes it does but it seems to use a lot more of one cpu than the 
>>> others so It's really not SMP.. Can I stop it from doing this with 
>>> some setting?
>>> Why can't there be 4 taskq's?
>>
>> it is possible, but it need to be coded.
>>
>> hz 4000 is also too high, use 1000-2000
>> http://www.tancsa.com/blast.html
>
>
> Those are very old test results using a fairly different em driver 
> than whats in the tree.
>
> You might look at
> http://people.yandex-team.ru/~wawa/
> on RELENG_6.  I havent tested it, but supposedly its optimized for 
> forwarding on SMP hardware
>
>         ---Mike
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48682F15.6070707>