[Click] netmap support?

Giorgio Calarco giorgio.calarco at unibo.it
Tue Jan 15 15:58:55 EST 2013


Hi,

if I am not wrong, the From/ToDevice has to be reconfigured, too,
using METHOD NETMAP explicitly.
However, METHOD PCAP should work too, but I suppose that
you would exploit the netmap-based libpcap emulation, which
should be  slower.


Regarding the NETMAP METHOD.
I can report  that I haven't been able to make a standard IP
router to work (I was using a 3.0.x kernel), for no good reason.
(But I had not much time to go in depth.)
At the best of my knowledge, Luigi Rizzo has not published
any performance report related to a complete IP router configuration yet
(only bridging configurations), maybe he can help to
clarify .

However,  I have been able to use it Click over Netmap
 as a packet generator: performance were good (1.2Mpps with
a 1 Gb/s e1000 NIC using a single 2.4 GHz core on a NUMA
 dual xeon quad core platform), but it was not fully saturated
 as Luigi Rizzo had reported. Moreover, performance were
not so reliable/repeatable, and after a few attempts the packet
generator was stucked (or hanged for 20-30 secs before starting),
and I was compelled to discharge the module, swith off
the card, and restart again, a bit annoying.
However, the NIC I was using was a bit different from his,
maybe it could be a hardware problem.

Ciao, Giorgio



On Tue, Jan 15, 2013 at 8:52 PM, Eddie Kohler <ekohler at gmail.com> wrote:

> Click also has preliminary support for native netmap. Configure with
> --with-netmap and report any bugs here.
>
> Eddie
>
>
> On 1/7/13 1:37 AM, Vladimir Olteanu wrote:
> > Hi,
> >
> > A subset of the pcap api (pcap_inject etc.) has been implemented using
> > netmap (check Luigi's website). You just need to change LD_LIBRARY_PATH
> > before running Click.
> >
> > BTW be sure to place "METHOD pcap" in the config strings of all
> > FromDevice and ToDevice elements.
> >
> > Vlad
> >
> > On 01/06/2013 04:52 PM, Ashok Anand wrote:
> >> Hi,
> >>
> >> I was wondering if netmap has been integrated with click, and is
> available
> >> to use. please let me know.
> >>
> >> Regards,
> >> Ashok
> >> _______________________________________________
> >> click mailing list
> >> click at amsterdam.lcs.mit.edu
> >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list