From 58222706ba6f386b1b466900d69f5be1faa5b979 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 15 Mar 2015 17:25:33 +0300 Subject: [PATCH] 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 --- roles/common/templates/sysctl_Ubuntu.j2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/common/templates/sysctl_Ubuntu.j2 b/roles/common/templates/sysctl_Ubuntu.j2 index 9190b20..f8c9939 100644 --- a/roles/common/templates/sysctl_Ubuntu.j2 +++ b/roles/common/templates/sysctl_Ubuntu.j2 @@ -89,11 +89,6 @@ net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 # increase the length of the processor input queue 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 #net.ipv4.tcp_mtu_probing=1