Skip to content

Commit

Permalink
fix(perf): run iperf on TCP and set TCP windows to bdp (#241)
Browse files Browse the repository at this point in the history
This commit makes iperf use TCP instead of UDP. Using UDP allows the sender to
send as much data as they can, not as much data as the receiver can handle.
Using TCP measures the actual bandwidth of the connection.

This commit sets the TCP send and receive window to the bandwidth-delay-product.
In order to exhaust the whole bandwidth between the two nodes, TCP needs to be
able to buffer all bytes on the wire in the case of packet loss.
  • Loading branch information
mxinden authored Aug 4, 2023
1 parent e8c0733 commit cfd1049
Show file tree
Hide file tree
Showing 4 changed files with 1,614 additions and 1,604 deletions.
Loading

0 comments on commit cfd1049

Please sign in to comment.