UDP output performance

Willem Jan Withagen wjw at digiware.nl
Mon Sep 7 13:49:19 UTC 2009


Mike Tancsa wrote:
> At 07:40 AM 9/7/2009, Willem Jan Withagen wrote:
> 
>> Well this turns out to be a pilot error, in that I created such a 
>> complex bandwidth evaluation that on buffer full the packet got tossed 
>> in the application.
>> :(
>>
>> Just stripping that out, and just do a
>>
>> try send
>> while(not send) {
>>         usleep(1 packet-time);
>>         try again;
>> }
> 
> There are some nice simples tool in /usr/src/tools/tools/netrate that 
> are great for generating arbitrary bandwidth via udp packets you might 
> want to have a look at.

Thanx Mike, I'll have a look. Always better well copied, than badly self 
invented. (free to an old dutch proverb). :)

Reason I'm home growing, is that these tests are for really specific 
applications we're developing.
And the actual purpose is to find hardware combo's that will do UDP packets 
a fast at we can get it out of the ports.
Preferably with a 10Gbit card at close to 10Gb/s.

But thus far I'm only getting the intel hardware on 1Gbit close to the line 
max. But I've got several boards still to test.

As I side note:
If anybody had experience with 10Gb hardware, I would appreciate 
recommandations for that as well.

One of the piexes of hardware I'm currently evaluating is:
Which does a nice job, with 2mbit udp in on em0 and 1Gbit udp out on port em6.

--WjW


More information about the freebsd-net mailing list