Closed
Description
From jdugan.esnet on June 16, 2009 15:05:45
Presently we set the window size to DEFAULT_TCP_BUFSIZE.
This has two issues:
- it overrides the system default implicitly
- it may prevent the system's auto tuning from working
Instead we should set socket_snd_bufsize and socket_rcv_bufsize to zero by default (probably in
iperf_defaults()). Then when it comes time to set the socket_snd_bufsize and socket_rcv_bufsize
only set it if it isn't zero.
for the present iperf the tool should use -w to set both socket_snd_bufsize and
socket_rcv_bufsize, but in the long term we probably want options to set the individually.
Original issue: http://code.google.com/p/iperf/issues/detail?id=1