three new netmap tools: pcap player, link emulator, load distributor

Luigi Rizzo rizzo at iet.unipi.it
Mon Feb 22 16:17:09 UTC 2016


On Monday, February 22, 2016, Slawa Olhovchenkov <slw at zxy.spb.ru> wrote:

> On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote:
>
> > lb
> >   a packet distributor that reads from a netmap port and distributes
> >   traffic to multiple netmap ports, using ze​ro copy and a user-defined
> >   hash function. This will be useful e.g. for people running multiple
> >   instances of traffic monitors such as bro, suricata and the like.
> >   It is not by chance that LB was originally developed by Seth Hall
> >   at Broala, who kindly made it available, and Giuseppe Lettieri who
> >   added a few features.
>
> Do you performance test of this tool?
> In my case, on my hardware similar code can rehash and forward only
> about 6.5Mpps in one thread.
>

Well above 15mpps on a Vale switch. The devil is in the details so "similar
code" may perform wildly differently depending of what you actually do.

Give this a try and let us know.

Cheers
Luigi



-- 
-----------------------------------------+-------------------------------
 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-2217533               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------


More information about the freebsd-current mailing list