add wmem sysctl
Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
parent
3b07709c25
commit
8cb08628f8
@ -3,6 +3,7 @@ from mpParam import MpParam
|
|||||||
class MpParamXp(MpParam):
|
class MpParamXp(MpParam):
|
||||||
|
|
||||||
RMEM = "rmem"
|
RMEM = "rmem"
|
||||||
|
WMEM = "wmem"
|
||||||
SCHED = "sched"
|
SCHED = "sched"
|
||||||
KERNELPM = "kpm"
|
KERNELPM = "kpm"
|
||||||
KERNELPMC = "kpmc" #kernel path manager client / server
|
KERNELPMC = "kpmc" #kernel path manager client / server
|
||||||
@ -29,6 +30,7 @@ class MpParamXp(MpParam):
|
|||||||
# global sysctl
|
# global sysctl
|
||||||
sysctlKey = {}
|
sysctlKey = {}
|
||||||
sysctlKey[RMEM] = "net.ipv4.tcp_rmem"
|
sysctlKey[RMEM] = "net.ipv4.tcp_rmem"
|
||||||
|
sysctlKey[WMEM] = "net.ipv4.tcp_wmem"
|
||||||
sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager"
|
sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager"
|
||||||
sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler"
|
sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler"
|
||||||
|
|
||||||
@ -40,6 +42,7 @@ class MpParamXp(MpParam):
|
|||||||
defaultValue = {}
|
defaultValue = {}
|
||||||
|
|
||||||
defaultValue[RMEM] = "10240 87380 16777216"
|
defaultValue[RMEM] = "10240 87380 16777216"
|
||||||
|
defaultValue[WMEM] = "4096 16384 4194304"
|
||||||
defaultValue[KERNELPM] = "fullmesh"
|
defaultValue[KERNELPM] = "fullmesh"
|
||||||
defaultValue[KERNELPMC] = "fullmesh"
|
defaultValue[KERNELPMC] = "fullmesh"
|
||||||
defaultValue[KERNELPMS] = "fullmesh"
|
defaultValue[KERNELPMS] = "fullmesh"
|
||||||
|
Loading…
Reference in New Issue
Block a user