Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting of window size should be explicit #1

Closed
bmah888 opened this issue Feb 28, 2014 · 1 comment
Closed

setting of window size should be explicit #1

bmah888 opened this issue Feb 28, 2014 · 1 comment

Comments

@bmah888
Copy link
Contributor

bmah888 commented Feb 28, 2014

From jdugan.esnet on June 16, 2009 15:05:45

Presently we set the window size to DEFAULT_TCP_BUFSIZE.

This has two issues:

  1. it overrides the system default implicitly
  2. 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

@bmah888
Copy link
Contributor Author

bmah888 commented Feb 28, 2014

From bltierney on November 13, 2009 07:27:18

Status: Fixed

@bmah888 bmah888 closed this as completed Feb 28, 2014
bmah888 pushed a commit that referenced this issue Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant