Changeset 4855

Show
Ignore:
Timestamp:
05/25/10 17:34:47 (4 years ago)
Author:
soohyunc
Message:

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.

Location:
vic/branches/cc/cc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/cc/formula.h

    r4852 r4855  
    3535#define vic_cc_formula_h 
    3636 
    37 #define MAXRATE 25000000.0  
     37#define MAXRATE 50000000.0  
    3838#define SAMLLFLOAT 0.0000001 
    3939 
  • vic/branches/cc/cc/tfrc_sndr.cpp

    r4854 r4855  
    379379        double m = 2.0; 
    380380        x_rate_ = m * x_rate_; 
     381 
     382        if (x_rate_ > MAXRATE) 
     383          x_rate_ = MAXRATE; 
    381384} 
    382385