From 1faf89f097dfa39ac139d25d116a8f402ef4ae3b Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Wed, 15 Apr 2009 18:27:01 +0000 Subject: [PATCH] merge from branch. --- PlanetLabConf/sysctl.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/PlanetLabConf/sysctl.php b/PlanetLabConf/sysctl.php index a17d80c..53a5feb 100755 --- a/PlanetLabConf/sysctl.php +++ b/PlanetLabConf/sysctl.php @@ -72,7 +72,7 @@ kernel.core_uses_pid = 1 # TCP window scaling and broken routers net.ipv4.tcp_moderate_rcvbuf=0 net.ipv4.tcp_default_win_scale=0 -net.ipv4.tcp_window_scaling=0 +net.ipv4.tcp_window_scaling=1 # Mark only out of window RST segments as INVALID. This setting, among # other things, allows data to be sent with SYN packets. @@ -80,3 +80,13 @@ net.ipv4.netfilter.ip_conntrack_tcp_be_liberal=1 # Fixes dst cache overflow bug net.ipv4.route.max_size=262144 + + +net.ipv4.tcp_congestion_control = cubic +net.ipv4.tcp_moderate_rcvbuf = 0 +net.core.rmem_max = 131071 +net.core.wmem_max = 131071 +net.ipv4.tcp_rmem = 4096 87380 4194304 +net.ipv4.tcp_wmem = 4096 16384 4194304 +net.netfilter.nf_conntrack_icmp_timeout = 60 + -- 2.43.0