mirror of
https://github.com/k4yt3x/sysctl.git
synced 2025-12-18 10:16:50 +00:00
Merge pull request #7 from IceCodeNew/4pr_disable_slow_start_after_idle
Enable mtu probing
This commit is contained in:
commit
eacf4688a4
14
sysctl.conf
14
sysctl.conf
@ -215,11 +215,6 @@ net.ipv4.ip_local_port_range = 1024 65535
|
|||||||
# - 2: enable timestamps without random offsets
|
# - 2: enable timestamps without random offsets
|
||||||
net.ipv4.tcp_timestamps = 0
|
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
|
# enabling SACK can increase the throughput
|
||||||
# but SACK is commonly exploited and rarely used
|
# but SACK is commonly exploited and rarely used
|
||||||
net.ipv4.tcp_sack = 0
|
net.ipv4.tcp_sack = 0
|
||||||
@ -227,6 +222,15 @@ net.ipv4.tcp_sack = 0
|
|||||||
# divide socket buffer evenly between TCP window size and application
|
# divide socket buffer evenly between TCP window size and application
|
||||||
net.ipv4.tcp_adv_win_scale = 1
|
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
|
# increase memory thresholds to prevent packet dropping
|
||||||
#net.ipv4.tcp_rmem = 4096 87380 8388608
|
#net.ipv4.tcp_rmem = 4096 87380 8388608
|
||||||
#net.ipv4.tcp_wmem = 4096 87380 8388608
|
#net.ipv4.tcp_wmem = 4096 87380 8388608
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user