X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fnetworking%2Fset_tcp_config.sh;fp=scripts%2Fnetworking%2Fset_tcp_config.sh;h=0000000000000000000000000000000000000000;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=7fc3d76ec7b619e8e3b6288688f724081f10ccfa;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/networking/set_tcp_config.sh b/scripts/networking/set_tcp_config.sh deleted file mode 100644 index 7fc3d76e..00000000 --- a/scripts/networking/set_tcp_config.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# this script modifies the linux kernel for maximum tcp buffer size, which can -# improve long-haul transfers over a wan. - -# new maximum buffer size to set. -new_max=4194304 - -echo "net.core.wmem_max=$new_max" >> /etc/sysctl.conf -echo "net.core.rmem_max=$new_max" >> /etc/sysctl.conf - -echo "net.ipv4.tcp_rmem= 10240 87380 $new_max" >> /etc/sysctl.conf -echo "net.ipv4.tcp_wmem= 10240 87380 $new_max" >> /etc/sysctl.conf - -echo "net.ipv4.tcp_window_scaling = 1" >> /etc/sysctl.conf - -echo "net.ipv4.tcp_timestamps = 1" >> /etc/sysctl.conf - -echo "net.ipv4.tcp_sack = 1" >> /etc/sysctl.conf - -echo "net.ipv4.tcp_no_metrics_save = 1" >> /etc/sysctl.conf - -echo "net.core.netdev_max_backlog = 5000" >> /etc/sysctl.conf -