From 447669c24d8fedb5dc060a1951fde45b6378188a Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Fri, 29 Apr 2016 15:01:41 +0200 Subject: [PATCH] mpParamXp: added tcp_early_retrans sysctl --- src/mpParamXp.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mpParamXp.py b/src/mpParamXp.py index c68cbe8..3b357ac 100644 --- a/src/mpParamXp.py +++ b/src/mpParamXp.py @@ -7,6 +7,7 @@ class MpParamXp(MpParam): SCHED = "sched" CC = "congctrl" AUTOCORK = "autocork" + EARLYRETRANS = "earlyRetrans" KERNELPM = "kpm" KERNELPMC = "kpmc" #kernel path manager client / server KERNELPMS = "kpms" @@ -59,6 +60,8 @@ class MpParamXp(MpParam): sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler" sysctlKey[CC] = "net.ipv4.tcp_congestion_control" sysctlKey[AUTOCORK] = "net.ipv4.tcp_autocorking" + sysctlKey[EARLYRETRANS] = "net.ipv4.tcp_early_retrans" + sysctlKeyClient = {} sysctlKeyClient[KERNELPMC] = "net.mptcp.mptcp_path_manager" @@ -79,6 +82,7 @@ class MpParamXp(MpParam): defaultValue[CC] = "olia" defaultValue[SCHED] = "default" defaultValue[AUTOCORK] = "1" + defaultValue[EARLYRETRANS] = "3" defaultValue[CLIENTPCAP] = "no" defaultValue[SERVERPCAP] = "no"