Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 15:57:58 -0300
From:      Eduardo Meyer <dudu.meyer@gmail.com>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Will netmap-ipfw fwd?
Message-ID:  <CAEqdE_4JyXo30zyQEdrCGFojLxvOivCPQJPrpAgP=SxsbZpvtw@mail.gmail.com>
In-Reply-To: <CA%2BhQ2%2BiH3Ty3M2A=Whfr2SY2Z_WGhr0NezVJ_jcYR-5C7su4fA@mail.gmail.com>
References:  <CAEqdE_7wiquoeC0P2kwLGnYHqhOat5Bjq8yvebE8U9TPufGsag@mail.gmail.com> <CA%2BhQ2%2BiH3Ty3M2A=Whfr2SY2Z_WGhr0NezVJ_jcYR-5C7su4fA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo <rizzo@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@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@gmail.com
>> profissional: ddm.farmaciap@saude.gov.br
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>
>
>
> --
> -----------------------------------------+-------------------------------
>  Prof. Luigi RIZZO, rizzo@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@gmail.com
profissional: ddm.farmaciap@saude.gov.br



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEqdE_4JyXo30zyQEdrCGFojLxvOivCPQJPrpAgP=SxsbZpvtw>