git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Long-outstanding commit. (Hopefully) Final version before running experiments for...
[distributedratelimiting.git]
/
drl
/
samplehold.h
diff --git
a/drl/samplehold.h
b/drl/samplehold.h
index
7e51623
..
fbd8d3d
100644
(file)
--- a/
drl/samplehold.h
+++ b/
drl/samplehold.h
@@
-31,11
+31,11
@@
#define RANDOM_GRANULARITY (1000)
/* For simple S&H testing. */
#define RANDOM_GRANULARITY (1000)
/* For simple S&H testing. */
-//#define SAMPLEHOLD_PERCENTAGE (20)
-//#define SAMPLEHOLD_OVERFACTOR (5)
-
#define SAMPLEHOLD_PERCENTAGE (5)
#define SAMPLEHOLD_PERCENTAGE (5)
-#define SAMPLEHOLD_OVERFACTOR (10)
+#define SAMPLEHOLD_OVERFACTOR (1.25)
+
+//#define SAMPLEHOLD_PERCENTAGE (5)
+//#define SAMPLEHOLD_OVERFACTOR (10)
#define SAMPLEHOLD_BONUS_FACTOR (1.05)
/** In-table representation of a flow that has been sampled. */
#define SAMPLEHOLD_BONUS_FACTOR (1.05)
/** In-table representation of a flow that has been sampled. */