[Fwd: asymetric speeds over gigE link]

George V. Neville-Neil gnn at neville-neil.com
Thu May 31 02:44:45 UTC 2007

At Wed, 30 May 2007 13:49:43 -0700,
security wrote:
> Drew,
>     Odd you should mention netperf.  It yielded nearly identical
> asymmetric results as iperf.  I ended up testing with netpipe (NPtcp).
> It reported fairly symmetric speeds between the two boxes when the send
> and recv buffers were set the same, so that mystery is solved (maybe). 
> That being said I still wonder if I've too abstracted the net perfromance.
>     The down side is that the best speed I got was around 362Mbps on
> a gigE link (with netpipe).  I had hoped for better.

NetPIPE is my test of choice for such things, but I have not fully
evaluated where it's performance bottlenecks may lie.  It is most
useful for causing "problems" to be found with networking code because
unlike most tests it attempts to use odd sized packets.  An
interesting experiment would be to run gprof on NetPIPE to make sure
that it was not the source of the inefficiency.  If you try that can
you post results?  I'm the maintainer of the NetPIPE port in FreeBSD
and have put in the code to cover IPv6 and SCTP.


More information about the freebsd-performance mailing list