Created
July 14, 2014 21:00
-
-
Save niklasvincent/ed05ecdef9dd5ab60c57 to your computer and use it in GitHub Desktop.
/etc/rc.local for Utilite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'net.core.wmem_max=12582912' >> /etc/sysctl.conf | |
echo 'net.core.rmem_max=12582912' >> /etc/sysctl.conf | |
echo 'net.ipv4.tcp_rmem= 10240 87380 12582912' >> /etc/sysctl.conf | |
echo 'net.ipv4.tcp_wmem= 10240 87380 12582912' >> /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 | |
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment