add sched option

Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
Benjamin Hesmans 2015-01-21 11:34:29 +01:00
parent 9f3e42d41e
commit b7d7df4d26
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
xpType:ncpv xpType:ncpv
ncClientPort_0:33400 ncClientPort_0:33400
clientPcap:yes clientPcap:yes
sched:roundrobin

View File

@ -3,6 +3,7 @@ from mpParam import MpParam
class MpParamXp(MpParam): class MpParamXp(MpParam):
RMEM = "rmem" RMEM = "rmem"
SCHED = "sched"
KERNELPM = "kpm" KERNELPM = "kpm"
CLIENTPCAP = "clientPcap" CLIENTPCAP = "clientPcap"
SERVERPCAP = "serverPcap" SERVERPCAP = "serverPcap"
@ -21,6 +22,7 @@ class MpParamXp(MpParam):
sysctlKey = {} sysctlKey = {}
sysctlKey[RMEM] = "net.ipv4.tcp_rmem" sysctlKey[RMEM] = "net.ipv4.tcp_rmem"
sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager" sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager"
sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler"
sysctlListClient = [] sysctlListClient = []
sysctlListServer = [] sysctlListServer = []
@ -29,6 +31,7 @@ class MpParamXp(MpParam):
defaultValue[RMEM] = "10240 87380 16777216" defaultValue[RMEM] = "10240 87380 16777216"
defaultValue[KERNELPM] = "fullmesh" defaultValue[KERNELPM] = "fullmesh"
defaultValue[SCHED] = "default"
defaultValue[CLIENTPCAP] = "no" defaultValue[CLIENTPCAP] = "no"
defaultValue[SERVERPCAP] = "no" defaultValue[SERVERPCAP] = "no"