From 8cb08628f85889425e0a0020e1314a5937f158be Mon Sep 17 00:00:00 2001 From: Benjamin Hesmans Date: Tue, 24 Mar 2015 10:05:40 +0100 Subject: [PATCH] add wmem sysctl Signed-off-by: Benjamin Hesmans --- src/mpParamXp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mpParamXp.py b/src/mpParamXp.py index 22633fe..ea57544 100644 --- a/src/mpParamXp.py +++ b/src/mpParamXp.py @@ -3,6 +3,7 @@ from mpParam import MpParam class MpParamXp(MpParam): RMEM = "rmem" + WMEM = "wmem" SCHED = "sched" KERNELPM = "kpm" KERNELPMC = "kpmc" #kernel path manager client / server @@ -29,6 +30,7 @@ class MpParamXp(MpParam): # global sysctl sysctlKey = {} sysctlKey[RMEM] = "net.ipv4.tcp_rmem" + sysctlKey[WMEM] = "net.ipv4.tcp_wmem" sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager" sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler" @@ -40,6 +42,7 @@ class MpParamXp(MpParam): defaultValue = {} defaultValue[RMEM] = "10240 87380 16777216" + defaultValue[WMEM] = "4096 16384 4194304" defaultValue[KERNELPM] = "fullmesh" defaultValue[KERNELPMC] = "fullmesh" defaultValue[KERNELPMS] = "fullmesh"