aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-14 16:01:36 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-14 16:35:34 +0200
commit1c3b8998bc6d9d6f78a2bc29ac1f0ba9cffa4fb8 (patch)
treea9f13fda343456f4dfc4375342bab05ab11128ff
parentac289050825f23320ee60d9bfae87ee3a25fb2c5 (diff)
ms: Set default CoDel interval to 4s
The current default interval is 2s which seems to be too short when the DL TBF has to be established. This may cause freezing or really slow TCP connections. This commit increases the default value to 4s. When the dl-tbf-idle-time is set, DL TBF are established less frequent, so smaller values (like 2s or below) can be used to improve the average latency when the load is high. Sponsored-by: On-Waves ehf
-rw-r--r--src/gprs_ms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_ms.cpp b/src/gprs_ms.cpp
index 82f1784..b0481f3 100644
--- a/src/gprs_ms.cpp
+++ b/src/gprs_ms.cpp
@@ -33,7 +33,7 @@ extern "C" {
#include <osmocom/core/utils.h>
}
-#define GPRS_CODEL_SLOW_INTERVAL_MS 2000
+#define GPRS_CODEL_SLOW_INTERVAL_MS 4000
extern void *tall_pcu_ctx;