Will netmap-ipfw fwd?

Eduardo Meyer dudu.meyer at gmail.com
Tue Sep 30 18:57:59 UTC 2014


On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo <rizzo at iet.unipi.it> wrote:

> Should work.
> Please try the latest version from code.google.com/p/netmap-ipfw/
>
> Cheers
> Luigi
>

OK just cloned.

What should tbe topology be like?

igb(4) -> netmap bridge -> vale -> ipfw?

will lagg0 -> netmap bridge -> ipfw work too?





>
> 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
>> profissional: ddm.farmaciap at saude.gov.br
>> _______________________________________________
>> 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)
> -----------------------------------------+-------------------------------
>
>


-- 
===========
Eduardo Meyer
pessoal: dudu.meyer at gmail.com
profissional: ddm.farmaciap at saude.gov.br


More information about the freebsd-net mailing list