reduce tcp retransmission attempts

This commit is contained in:
Daniel Micay 2022-06-27 23:28:45 -04:00
parent 905ff4d433
commit f6435cae74

View File

@ -4,9 +4,20 @@ net.ipv4.tcp_notsent_lowat = 131072
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_max_syn_backlog = 4096
# 31s with initial 1s RTO
net.ipv4.tcp_syn_retries = 4
# 15s with initial 1s RTO
net.ipv4.tcp_synack_retries = 3
# 102.2s with minimum 0.2s RTO
net.ipv4.tcp_retries2 = 8
# 25.4s with minimum 0.2s RTO
net.ipv4.tcp_orphan_retries = 6
net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.conf.all.send_redirects = 0