Permalink
Browse files

tcp: Reduce RTO minimal value from 1 second to 500ms

The RTO slop is reduced from 200ms to 100ms.  The effect RTO minimal
value is 600ms, which should be suitable even for satellite links.
  • Loading branch information...
1 parent 22c4e11 commit c63b6d1884d0510a03f21633050e140ea58cace9 Sepherosa Ziehau committed Sep 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 sys/netinet/tcp_timer.h
View
@@ -101,8 +101,8 @@
* continuous packet loss unrelated to congestion, such as on a wireless
* network.
*/
-#define TCPTV_MIN ( hz ) /* minimum allowable value */
-#define TCPTV_CPU_VAR ( hz/5 ) /* cpu variance (200ms) */
+#define TCPTV_MIN ( hz/2 ) /* minimum allowable value */
+#define TCPTV_CPU_VAR ( hz/10) /* cpu variance (100ms) */
#define TCPTV_REXMTMAX ( 64*hz) /* max allowable REXMT value */
#define TCPTV_TWTRUNC 8 /* RTO factor to truncate TW */

0 comments on commit c63b6d1

Please sign in to comment.