[Fwd: asymetric speeds over gigE link]
security at jim-liesl.org
Wed May 30 20:49:49 UTC 2007
> security writes:
> > Sent this to -net and didn't get much info, so I'll try here since
> > there's some overlap
> > Summary: Using iperf to measure TCP net speed between a linux (kubuntu edgy) and
> Iperf is probably your problem, it tends to perform really poorly on
> nearly any OS other than linux as it measures lots of things besides
> network performance (like gettimeofday performance). Try a network
> benchmark that just benchmarks the network, like netperf.
> For example, on an amd64x2 running -current, I see ~4.75Gb/s from
> netperf (no options) and 2.85Gb/s from iperf (no options)
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.
More information about the freebsd-performance