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

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Tue May 25 17:34:47 BST 2010


Author: soohyunc
Date: Tue May 25 17:34:47 2010
New Revision: 4855

Modified:
   vic/branches/cc/cc/formula.h
   vic/branches/cc/cc/tfrc_sndr.cpp

Log:
TFRC's max rate is bounded by 50 Mbytes/sec.

This means that IPI can go as fast as 20 usec - it is roughly same speed over
window-based TFWC when cwnd allows sehding them. This will mean that Vic is 
unlikely send packets faster than this speed.




Modified: vic/branches/cc/cc/formula.h
==============================================================================
--- vic/branches/cc/cc/formula.h	(original)
+++ vic/branches/cc/cc/formula.h	Tue May 25 17:34:47 2010
@@ -34,7 +34,7 @@
 #ifndef vic_cc_formula_h
 #define vic_cc_formula_h
 
-#define MAXRATE 25000000.0 
+#define MAXRATE 50000000.0 
 #define SAMLLFLOAT 0.0000001
 
 /*

Modified: vic/branches/cc/cc/tfrc_sndr.cpp
==============================================================================
--- vic/branches/cc/cc/tfrc_sndr.cpp	(original)
+++ vic/branches/cc/cc/tfrc_sndr.cpp	Tue May 25 17:34:47 2010
@@ -378,6 +378,9 @@
 void TfrcSndr::slow_start() {
 	double m = 2.0;
 	x_rate_ = m * x_rate_;
+
+	if (x_rate_ > MAXRATE)
+	  x_rate_ = MAXRATE;
 }
 
 /*



More information about the Sumover-dev mailing list