From dfeaf5eca4bc63cab5724db165a53b544106e4c0 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Thu, 13 Oct 2011 15:27:48 -0400 Subject: [PATCH] Widen prediction interval --- terminaloverlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminaloverlay.cpp b/terminaloverlay.cpp index e821336..71f54d8 100644 --- a/terminaloverlay.cpp +++ b/terminaloverlay.cpp @@ -381,7 +381,7 @@ int OverlayManager::wait_time( void ) int PredictionEngine::prediction_len( void ) { - uint64_t RTO = lrint( ceil( SRTT + 4 * RTTVAR ) ); + uint64_t RTO = lrint( ceil( 1.25 * SRTT + 8 * RTTVAR ) ); if ( RTO < 20 ) { RTO = 20; } else if ( RTO > 2000 ) {