Presently we set the window size to DEFAULT_TCP_BUFSIZE.
This has two issues:
1. it overrides the system default implicitly
1. 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 reported on code.google.com by jdugan.e...@gmail.com on 16 Jun 2009 at 10:05
Original issue reported on code.google.com by
jdugan.e...@gmail.com
on 16 Jun 2009 at 10:05