mirror of
https://github.com/k4yt3x/sysctl.git
synced 2025-12-29 16:16:10 +00:00
Merge pull request #6 from IceCodeNew/4pr_disable_slow_start_after_idle
Disable TCP slow start after idle
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Contributor: IceCodeNew
|
||||
# Contributor: HorlogeSkynet
|
||||
# Date Created: October 5, 2020
|
||||
# Last Updated: June 7, 2021
|
||||
# Last Updated: October 12, 2021
|
||||
|
||||
# Licensed under the GNU General Public License Version 3 (GNU GPL v3),
|
||||
# available at: https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
@@ -215,6 +215,11 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user