forked from venkatarun95/genericCC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigs.hh
27 lines (23 loc) · 954 Bytes
/
configs.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <string>
// Type of remy (in terms of the congestion signals) to be used
//
// Options are:
// - REMYTYPE_DEFAULT
// - REMYTYPE_LOSS_SIGNAL
// - REMYTYPE_WITHOUT_SLOW_REWMA
#define REMYTYPE_DEFAULT
// Controls the scaling of the rate-based congestion control signals
//
// Scaling is based on link rate of the bottleneck link measured using
// the 'packet-pair' trick. Rate is measured in packets/s
#undef SCALE_SEND_RECEIVE_EWMA
#define NUM_PACKETS_PER_LINK_RATE_MEASUREMENT 1
// The lower the value, the slower the exponential averaging
#define LINK_RATE_MEASUREMENT_ALPHA (1.0/64.0)
// Link rate for which the remy was trained on (in packets per second)
extern double TRAINING_LINK_RATE; // declared in sender.cc
// Miscellaneous Controls
// If true, logs bottleneck link rate and rtt for each 'packet pair'
// sent along with a timestamp. Declared in sender.cc
extern bool LINK_LOGGING;
extern std::string LINK_LOGGING_FILENAME;