[Click] How to make a fast multi-core UDP generator ??

borkmann at iogearbox.net borkmann at iogearbox.net
Thu Oct 13 03:56:52 EDT 2011


You can also try the zero-copy traffic generator "trafgen" that is  
part of the netsniff-ng
toolkit: http://netsniff-ng.org/ there is a Git repository, where you  
can get it from. On
Gigabit Ethernet, I was able to generate about 1,25Mio 64 Byte pps  
from userspace
(comp. pktgen from kernelspace: 1,38Mio pps). Other, fast packet  
generators, that run
in userspace like Mausezahn (http://www.perihel.at/sec/mz/) only reach  
about 800k pps.

Quoting Nikolay Denev <ndenev at gmail.com>:
> You can try the NETMAP image from here :  
> http://info.iet.unipi.it/~luigi/netmap/
> With it I was able to generate 13-14Mpps (64byte packets) with a  
> Intel 10GigE card.
>
> On Oct 13, 2011, at 7:39 AM, shule ney wrote:
>
>> Hi there:
>> I'm trying to make a UDP generator by using udpgen.click but single thread
>> kernel click seems not fast enough(around 1.4Mpps with 64B packet), so I try
>> to configure and run click as multi-threaded version, However it does not
>> work for me when I'm using udpgen.click. once I type *click-install -t 2*,
>> it tells me ignore the parameter, while other click configuration file works
>> fine, I don't know why this udpgen.click can't work with multi-thread.
>> Another question is which is the possible bottleneck, NIC or CPU? Thanks for
>> your help.
>>
>> Best
>> shule
>> _______________________________________________
>> 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