From b7d7df4d2627aa3122ab607e282dc2e60f3cfa98 Mon Sep 17 00:00:00 2001 From: Benjamin Hesmans Date: Wed, 21 Jan 2015 11:34:29 +0100 Subject: [PATCH] add sched option Signed-off-by: Benjamin Hesmans --- src/conf/xp/3_ncpv | 1 + src/mpParamXp.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/conf/xp/3_ncpv b/src/conf/xp/3_ncpv index eb87432..e912247 100644 --- a/src/conf/xp/3_ncpv +++ b/src/conf/xp/3_ncpv @@ -1,3 +1,4 @@ xpType:ncpv ncClientPort_0:33400 clientPcap:yes +sched:roundrobin diff --git a/src/mpParamXp.py b/src/mpParamXp.py index e0bb176..70ec9ed 100644 --- a/src/mpParamXp.py +++ b/src/mpParamXp.py @@ -3,6 +3,7 @@ from mpParam import MpParam class MpParamXp(MpParam): RMEM = "rmem" + SCHED = "sched" KERNELPM = "kpm" CLIENTPCAP = "clientPcap" SERVERPCAP = "serverPcap" @@ -21,6 +22,7 @@ class MpParamXp(MpParam): sysctlKey = {} sysctlKey[RMEM] = "net.ipv4.tcp_rmem" sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager" + sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler" sysctlListClient = [] sysctlListServer = [] @@ -29,6 +31,7 @@ class MpParamXp(MpParam): defaultValue[RMEM] = "10240 87380 16777216" defaultValue[KERNELPM] = "fullmesh" + defaultValue[SCHED] = "default" defaultValue[CLIENTPCAP] = "no" defaultValue[SERVERPCAP] = "no"