Created
January 15, 2023 04:08
-
-
Save mxyq/f6b8d57562446611df22365a23184bf3 to your computer and use it in GitHub Desktop.
[sysctl options to optimize network]
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
net.ipv4.neigh.default.base_reachable_time_ms = 600000 | |
net.ipv4.neigh.eth1.delay_first_probe_time = 1 | |
net.ipv4.neigh.default.mcast_solicit = 20 | |
net.ipv4.neigh.default.retrans_time_ms = 250 | |
net.ipv4.conf.all.rp_filter=0 | |
net.ipv4.conf.eth0.rp_filter=0 | |
net.ipv4.conf.eth1.rp_filter=0 | |
net.core.default_qdisc=cake | |
net.ipv4.tcp_congestion_control=bbr2 | |
vm.swappiness = 0 | |
net.ipv4.tcp_ecn = 2 | |
net.ipv4.tcp_ecn_fallback = 1 | |
net.core.rmem_max = 67108864 | |
net.core.wmem_max = 67108864 | |
net.core.rmem_default = 67108864 | |
net.core.wmem_default = 67108864 | |
net.core.somaxconn = 10000 | |
net.ipv4.tcp_slow_start_after_idle=0 | |
net.ipv4.tcp_notsent_lowat=16384 | |
et.ipv4.ip_local_port_range = 10000 65000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment