Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 2009 09:05:30 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        net@freebsd.org
Subject:   Re: UDP output performance
Message-ID:  <200909071301.n87D1kqY062913@lava.sentex.ca>
In-Reply-To: <4AA4F11C.4060200@digiware.nl>
References:  <4AA14018.3010102@digiware.nl> <5bc218350909041002x670460c8nf202a714182d1bf6@mail.gmail.com> <4AA4F11C.4060200@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

         ---Mike


>
>Reduced my packet loss to < 0.1% and I'm able to squeeze a nice > 
>900 Mbit/s  out of a single em(4) port. Still no packets begin 
>dropped in netstat -i.
>
>So now I'm off hunting for 'bugs' in snmp, cacti, mrtg to see why 
>they don't like the counters. Even when I'm using the 64bit counters 
>I get really spiky  bandwidth results. Equal to those when using 32 
>bits counters, so certainly things are not as I think they are.
>
>Other thing is to see how Lin* is performing on this test.
>So trying to install ubuntu 9.04.
>
>--WjW
>_______________________________________________
>freebsd-net@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"

--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909071301.n87D1kqY062913>