X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PlanetLabConf%2Fsysctl.conf;fp=PlanetLabConf%2Fsysctl.conf;h=ce6f51247cd4d10fed8abc1a5bbf168ce1fce6ea;hb=b7ac22f0274db60e96dbf135aeb1f41f6564e044;hp=0000000000000000000000000000000000000000;hpb=6ad65339721065897f9038fda169a145dc236a44;p=nodeconfig.git diff --git a/PlanetLabConf/sysctl.conf b/PlanetLabConf/sysctl.conf new file mode 100644 index 0000000..ce6f512 --- /dev/null +++ b/PlanetLabConf/sysctl.conf @@ -0,0 +1,30 @@ +# Controls the System Request debugging functionality of the kernel +kernel.sysrq = 0 + +# Controls whether core dumps will append the PID to the core filename. +# Useful for debugging multi-threaded applications. +kernel.core_uses_pid = 1 + +# Controls source route verification +net.ipv4.conf.default.rp_filter = 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=1 + +# Mark only out of window RST segments as INVALID. This setting, among +# other things, allows data to be sent with SYN packets. +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 +