Created
July 14, 2025 10:21
-
-
Save avin/70e9f3dcfcd4655c7a64c7d4fff5efd6 to your computer and use it in GitHub Desktop.
Tune /etc/sysctl.conf to speed up network connections to server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Basic BBR Settings | |
| net.core.default_qdisc = fq | |
| net.ipv4.tcp_congestion_control = bbr | |
| # Buffers | |
| net.core.rmem_max = 12582912 | |
| net.core.wmem_max = 12582912 | |
| net.ipv4.tcp_rmem = 4096 87380 12582912 | |
| net.ipv4.tcp_wmem = 4096 16384 12582912 | |
| # Optimization for high-speed networks | |
| net.ipv4.tcp_slow_start_after_idle = 0 | |
| net.ipv4.tcp_mtu_probing = 1 | |
| net.ipv4.tcp_notsent_lowat = 16384 | |
| # Timeouts | |
| net.ipv4.tcp_fin_timeout = 15 | |
| net.ipv4.tcp_keepalive_time = 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment