svn commit: r237128 - user/andre/tcp_workqueue/sys/netinet
Andre Oppermann
andre at FreeBSD.org
Fri Jun 15 08:10:15 UTC 2012
Author: andre
Date: Fri Jun 15 08:10:14 2012
New Revision: 237128
URL: http://svn.freebsd.org/changeset/base/237128
Log:
Change the SYN retransmit schedule to be less aggressive and more
smooth. It still tries far too often and long to establish a
connection before giving up and signalling the application.
Modified:
user/andre/tcp_workqueue/sys/netinet/tcp_timer.c
Modified: user/andre/tcp_workqueue/sys/netinet/tcp_timer.c
==============================================================================
--- user/andre/tcp_workqueue/sys/netinet/tcp_timer.c Fri Jun 15 08:04:47 2012 (r237127)
+++ user/andre/tcp_workqueue/sys/netinet/tcp_timer.c Fri Jun 15 08:10:14 2012 (r237128)
@@ -147,7 +147,7 @@ tcp_slowtimo(void)
}
int tcp_syn_backoff[TCP_MAXRXTSHIFT + 1] =
- { 1, 1, 1, 1, 1, 2, 4, 8, 16, 32, 64, 64, 64 };
+ { 1, 1, 2, 2, 4, 4, 8, 8, 16, 16, 32, 32, 64 };
int tcp_backoff[TCP_MAXRXTSHIFT + 1] =
{ 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, 512, 512 };
More information about the svn-src-user
mailing list