mpParamXp: added tcp_early_retrans sysctl

This commit is contained in:
Quentin De Coninck 2016-04-29 15:01:41 +02:00
parent ed859c44fa
commit 447669c24d

View File

@ -7,6 +7,7 @@ class MpParamXp(MpParam):
SCHED = "sched" SCHED = "sched"
CC = "congctrl" CC = "congctrl"
AUTOCORK = "autocork" AUTOCORK = "autocork"
EARLYRETRANS = "earlyRetrans"
KERNELPM = "kpm" KERNELPM = "kpm"
KERNELPMC = "kpmc" #kernel path manager client / server KERNELPMC = "kpmc" #kernel path manager client / server
KERNELPMS = "kpms" KERNELPMS = "kpms"
@ -59,6 +60,8 @@ class MpParamXp(MpParam):
sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler" sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler"
sysctlKey[CC] = "net.ipv4.tcp_congestion_control" sysctlKey[CC] = "net.ipv4.tcp_congestion_control"
sysctlKey[AUTOCORK] = "net.ipv4.tcp_autocorking" sysctlKey[AUTOCORK] = "net.ipv4.tcp_autocorking"
sysctlKey[EARLYRETRANS] = "net.ipv4.tcp_early_retrans"
sysctlKeyClient = {} sysctlKeyClient = {}
sysctlKeyClient[KERNELPMC] = "net.mptcp.mptcp_path_manager" sysctlKeyClient[KERNELPMC] = "net.mptcp.mptcp_path_manager"
@ -79,6 +82,7 @@ class MpParamXp(MpParam):
defaultValue[CC] = "olia" defaultValue[CC] = "olia"
defaultValue[SCHED] = "default" defaultValue[SCHED] = "default"
defaultValue[AUTOCORK] = "1" defaultValue[AUTOCORK] = "1"
defaultValue[EARLYRETRANS] = "3"
defaultValue[CLIENTPCAP] = "no" defaultValue[CLIENTPCAP] = "no"
defaultValue[SERVERPCAP] = "no" defaultValue[SERVERPCAP] = "no"