Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 08:10:14 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r237128 - user/andre/tcp_workqueue/sys/netinet
Message-ID:  <201206150810.q5F8AEwe054581@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206150810.q5F8AEwe054581>