Skip to content

setting of window size should be explicit #1

Closed
@bmah888

Description

@bmah888

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions