]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: disable TCP slow start
authorGrant Slater <git@firefishy.com>
Fri, 20 Dec 2019 17:04:34 +0000 (17:04 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 20 Dec 2019 17:04:34 +0000 (17:04 +0000)
roles/tilecache.rb

index 8353a21209d62f40a32ac1c2584a14f28d50985b..d7aae8af14c6dd906bef9b4b2334395722343069 100644 (file)
@@ -73,6 +73,13 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => "10000000",
         "kernel.sched_wakeup_granularity_ns" => "15000000"
       }
+    },
+    :no_tcp_slow_start => {
+      :comment => "Ensure TCP slow start is disabled",
+      :parameters => {
+          "net.ipv4.tcp_slow_start_after_idle" => "0",
+          "net.ipv4.tcp_no_metrics_save" => "0"
+      }
     }
   }
 )