[Sumover-dev] [svn commit] r4850 - vic/branches/cc/cc

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Wed May 19 16:59:10 BST 2010


Author: soohyunc
Date: Wed May 19 16:59:10 2010
New Revision: 4850

Modified:
   vic/branches/cc/cc/tfwc_sndr.cpp

Log:
this commit is to revoke Revision 4833.

after using socket timestamp when measuring RTT, we want to revert the decay
factor to 0.95 as in the ns-2 simulator - meaning that we gives 95% weight to
the previous SRTT and gives 1% to the sampled RTT calculating SRTT.




Modified: vic/branches/cc/cc/tfwc_sndr.cpp
==============================================================================
--- vic/branches/cc/cc/tfwc_sndr.cpp	(original)
+++ vic/branches/cc/cc/tfwc_sndr.cpp	Wed May 19 16:59:10 2010
@@ -99,7 +99,7 @@
 	srtt_ = -1.0;
 	rto_ = 3.0;		// RFC 1122
 	rttvar_ = 0.0;
-	df_ = 0.99;
+	df_ = 0.95;
 	sqrtrtt_ = 1.0;
 	t0_ = 6.0;
 	alpha_ = 0.125;



More information about the Sumover-dev mailing list