roles/common: Remove logic for TCP congestion avoidance on early kernels in sysctl

We don't have anything near 2.6.32 anymore.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-03-15 17:25:33 +03:00
parent 60ba4dacbd
commit 58222706ba
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -89,11 +89,6 @@ net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216
# increase the length of the processor input queue # increase the length of the processor input queue
net.core.netdev_max_backlog = 30000 net.core.netdev_max_backlog = 30000
{# Linode kernels don't have htcp, and kernels after 2.6.32 don't have buggy cubic #}
{% if "linode" not in ansible_kernel and ansible_kernel < "2.6.33" %}
# recommended default congestion control is htcp
net.ipv4.tcp_congestion_control=htcp
{% endif %}
# recommended for hosts with jumbo frames enabled # recommended for hosts with jumbo frames enabled
#net.ipv4.tcp_mtu_probing=1 #net.ipv4.tcp_mtu_probing=1