X-Git-Url: http://git.onelab.eu/?p=nodeconfig.git;a=blobdiff_plain;f=PlanetLabConf%2Fsysctl.php;h=53a5feb947350150e497e6baf29f2b98be86223b;hp=a17d80cbeabc7a3cc5bc7394ff4d33898ef12cc2;hb=1faf89f097dfa39ac139d25d116a8f402ef4ae3b;hpb=29fc75e7e5e18e852491f15d4312948de13d9610 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 +