This sounds interesting. I haven't tried a complete IP router, but with a simplified one which doesn't care ARP and ICMP, it works well. Things may be different because I am using my own modified Click and it is hard for me to figure out which change makes this work in a short time..
I've got the same problem that after running Click once and killing it for a new settings, it was stuck so I had to reload the NIC driver and netmap module and re-setup the network configuration. But my performance result is good, for a simple forwarding configuration, it achieves a 13.1Mpps peak performance with a 10Gb Intel 82599 NIC on an old Intel Core i7 930 CPU (two of four cores used). Weibin Sun On 2013-01-15 13:58, Giorgio Calarco wrote: > 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 <ekoh...@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@amsterdam.lcs.mit.edu >> >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > >> > _______________________________________________ >> > click mailing list >> > click@amsterdam.lcs.mit.edu >> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > >> _______________________________________________ >> click mailing list >> click@amsterdam.lcs.mit.edu >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > _______________________________________________ > click mailing list > click@amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list click@amsterdam.lcs.mit.edu https://amsterdam.lcs.mit.edu/mailman/listinfo/click