Skip to content

Commit

Permalink
Merge pull request #7 from IceCodeNew/4pr_disable_slow_start_after_idle
Browse files Browse the repository at this point in the history
Enable mtu probing
  • Loading branch information
k4yt3x authored Oct 12, 2021
2 parents 48417fc + c21ccc0 commit eacf468
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -215,18 +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

# 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 eacf468

Please sign in to comment.