Skip to content

Commit

Permalink
updated comments for MTU probing
Browse files Browse the repository at this point in the history
  • Loading branch information
k4yt3x authored Oct 12, 2021
1 parent c5903aa commit c21ccc0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -215,21 +215,22 @@ net.ipv4.ip_local_port_range = 1024 65535
# - 2: enable timestamps without random offsets
net.ipv4.tcp_timestamps = 0

# SSR could impact TCP's performance on a fixed-speed network (e.g., wired)
# but it could be helpful on a variable-speed network (e.g., LTE)
# uncomment this if you are on a fixed-speed network
#net.ipv4.tcp_slow_start_after_idle = 0

# useful if there are ICMP blackholes between you and your clients (most likely there are).
net.ipv4.tcp_mtu_probing=1

# enabling SACK can increase the throughput
# but SACK is commonly exploited and rarely used
net.ipv4.tcp_sack = 0

# divide socket buffer evenly between TCP window size and application
net.ipv4.tcp_adv_win_scale = 1

# SSR could impact TCP's performance on a fixed-speed network (e.g., wired)
# but it could be helpful on a variable-speed network (e.g., LTE)
# uncomment this if you are on a fixed-speed network
#net.ipv4.tcp_slow_start_after_idle = 0

# enabling MTU probing helps mitigating PMTU blackhole issues
# this may not be desirable on congested networks
#net.ipv4.tcp_mtu_probing = 1

# increase memory thresholds to prevent packet dropping
#net.ipv4.tcp_rmem = 4096 87380 8388608
#net.ipv4.tcp_wmem = 4096 87380 8388608
Expand Down

0 comments on commit c21ccc0

Please sign in to comment.