projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c82f376
)
tcp: Adjust SYN retransmit backoff a little bit.
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 11 Apr 2012 10:09:43 +0000 (18:09 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 11 Apr 2012 10:28:46 +0000 (18:28 +0800)
This pattern is proposed by:
Chu, J., "Tuning TCP Parameters for the 21st Century",
http://www.ietf.org/proceedings/75/slides/tcpm-1.pdf
sys/netinet/tcp_timer.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/netinet/tcp_timer.c
b/sys/netinet/tcp_timer.c
index
ecdb89b
..
b658907
100644
(file)
--- a/
sys/netinet/tcp_timer.c
+++ b/
sys/netinet/tcp_timer.c
@@
-226,7
+226,7
@@
int tcp_syn_backoff[TCP_MAXRXTSHIFT + 1] =
{ 1, 1, 1, 1, 1, 2, 4, 8, 16, 32, 64, 64, 64 };
int tcp_syn_backoff_low[TCP_MAXRXTSHIFT + 1] =
- { 1, 2, 4, 4, 4, 8, 16, 16, 32, 64, 64, 64, 64 };
+ { 1, 1, 2, 4, 8, 8, 16, 16, 32, 64, 64, 64, 64 };
int tcp_backoff[TCP_MAXRXTSHIFT + 1] =
{ 1, 2, 4, 8, 16, 32, 64, 64, 64, 64, 64, 64, 64 };