Will netmap-ipfw fwd?

Luigi Rizzo rizzo at iet.unipi.it
Tue Sep 30 18:33:33 UTC 2014


On Tue, Sep 30, 2014 at 8:19 PM, Marcelo Gondim <gondim at bsdinfo.com.br>
wrote:

> On 30/09/2014 13:49, Luigi Rizzo wrote:
>
>> Should work.
>> Please try the latest version from code.google.com/p/netmap-ipfw/
>>
>> Cheers
>> Luigi
>>
>
> Hi Luigi,
>
> The netmap-ipfw be included in the FreeBSD 10.1 final?
>

​no it is out of the tree.
it's a userspace application anyways, so easy
to build

cheers
luigi
​


>
> Cheers,
> Gondim
>
>
>> On Tuesday, September 30, 2014, Eduardo Meyer <dudu.meyer at gmail.com>
>> wrote:
>>
>>  I have a problem, where I need to fwd a high rate of pps, and I dont have
>>> enough CPU. It's around 900Kpps, so I would like to know if ipfw userland
>>> version with netmap support will do fwd?
>>>
>>> Here are my current rules:
>>>
>>> 00100 fwd 10.1.2.1 tag tcp from table(100) to any dst-port 80,1024-65535
>>> in
>>> { via lagg0 or via vlan1010 }
>>>
>>> 00200 prob 0.500000 fwd 10.1.2.2 tcp from any 80,1024-65535 to
>>> table(100)
>>> in { via igb6 or via igb7 }
>>> 00300 fwd 10.1.2.3 tcp from any 80,1024-65535 to table(100) in { via igb6
>>> or via igb7 }
>>>
>>> With those rules, my CPU interrupt rate raises from 30% to 80%.
>>>
>>> If netmap/ipfw has the ability to fwd should I expect a better interrupt
>>> rate and lower load?
>>>
>>> Sorry to ask before actually trying but this is a production environment
>>> and I don't have enough room to test, I would like to read opinions
>>> before
>>> finding out a nightly window to do the changes and tests.
>>>
>>> Thank you.
>>>
>>> --
>>> ===========
>>> Eduardo Meyer
>>> pessoal: dudu.meyer at gmail.com <javascript:;>
>>> profissional: ddm.farmaciap at saude.gov.br <javascript:;>
>>> _______________________________________________
>>>
>>
> _______________________________________________
> 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"
>



-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo at iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2211611               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------


More information about the freebsd-net mailing list