Skip to content

Commit

Permalink
fix(perf): increase maximum udp send buffer size
Browse files Browse the repository at this point in the history
Previously only the maximum udp **receive** buffer size was increased to
`2500000` bytes. With this commit both the send and the receive buffer size is increase.
  • Loading branch information
mxinden committed Aug 11, 2023
1 parent e0b4596 commit b2838db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perf/terraform/modules/long_lived/files/user-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sudo yum -y install iperf3

# Bump UDP receive buffer size. See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size.
sudo sysctl -w net.core.rmem_max=2500000
sudo sysctl -w net.core.wmem_max=2500000

# Set maximum TCP send and receive window to bandwidth-delay-product.
#
Expand Down

0 comments on commit b2838db

Please sign in to comment.