Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:sysctl [2011/01/09 23:12] a |
linux:sysctl [2016/02/23 10:52] (current) zagi |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Linux sysctl options ====== | ====== Linux sysctl options ====== | ||
| - | |||
| - | |||
| Line 63: | Line 61: | ||
| # | # | ||
| # Do not send ICMP redirects (we are not a router) | # Do not send ICMP redirects (we are not a router) | ||
| - | net/ | + | net/ |
| # Do not accept IP source route packets (we are not a router) | # Do not accept IP source route packets (we are not a router) | ||
| - | net/ | + | net/ |
| # tcp/ip tweak - window size | # tcp/ip tweak - window size | ||
| Line 88: | Line 86: | ||
| net.ipv4.ipfrag_time = 30 | net.ipv4.ipfrag_time = 30 | ||
| - | net.ipv4.tcp_ecn = 1 | + | net.ipv4.tcp_ecn = 0 |
| net.ipv4.tcp_syncookies = 1 | net.ipv4.tcp_syncookies = 1 | ||
| net.ipv4.tcp_timestamps = 1 | net.ipv4.tcp_timestamps = 1 | ||
| + | net.ipv4.tcp_sack = 1 | ||
| # Linux 2.6 has only 32Mb shared memory | # Linux 2.6 has only 32Mb shared memory | ||
| Line 99: | Line 98: | ||
| # | # | ||
| + | |||
| + | # recommended for hosts with jumbo frames enabled | ||
| + | net.ipv4.tcp_mtu_probing=1 | ||
| + | |||
| + | net.ipv4.tcp_allowed_congestion_control = highspeed | ||
| + | net.ipv4.tcp_congestion_control = highspeed | ||
| + | |||
| + | net.ipv4.tcp_slow_start_after_idle=0 | ||
| + | |||
| </ | </ | ||

