git: tcp: Lowering initial RTO according to RFC 6298
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Mar 16 03:41:57 PDT 2012
commit 48a4676d0b815f0b3c9dcc0ab98a2e100b4383b9
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Mar 16 18:23:47 2012 +0800
tcp: Lowering initial RTO according to RFC 6298
The SYN retransmit backoff is roughly according to the tcp_syn_backoff[]
as following:
15s
tcp_syn_backoff[] rexmt: 3 3 3 3 3 | 6 12 24 (ended at 57s)
tcp_syn_backoff_low[] rexmt: 1 2 4 4 4 | 8 16 16 (ended at 55s)
It is on by default and could be turned off by using sysctl
net.inet.tcp.low_rtobase
Summary of changes:
sys/netinet/tcp_input.c | 10 ++++++++++
sys/netinet/tcp_subr.c | 4 ++++
sys/netinet/tcp_timer.c | 16 +++++++++++++---
sys/netinet/tcp_timer.h | 6 +++++-
sys/netinet/tcp_var.h | 1 +
5 files changed, 33 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/48a4676d0b815f0b3c9dcc0ab98a2e100b4383b9
--
DragonFly BSD source repository
More information about the Commits
mailing list