]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: Use TCP BBR congestion control
authorGrant Slater <git@firefishy.com>
Mon, 23 Dec 2019 13:15:14 +0000 (13:15 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 23 Dec 2019 13:16:04 +0000 (13:16 +0000)
roles/tilecache.rb

index d7aae8af14c6dd906bef9b4b2334395722343069..c9badd05d17823089494ccb95b3f666f287f9e11 100644 (file)
@@ -75,11 +75,18 @@ default_attributes(
       }
     },
     :no_tcp_slow_start => {
-      :comment => "Ensure TCP slow start is disabled",
+      :comment => "REMOVE ME: Temporary Reset TCP slow start back to kernel default",
       :parameters => {
-          "net.ipv4.tcp_slow_start_after_idle" => "0",
+          "net.ipv4.tcp_slow_start_after_idle" => "1",
           "net.ipv4.tcp_no_metrics_save" => "0"
       }
+    },
+    :tcp_use_bbr => {
+      :comment => "Use TCP BBR Congestion Control",
+      :parameters => {
+        "net.core.default_qdisc" => "fq",
+        "net.ipv4.tcp_congestion_control" => "bbr"
+      }
     }
   }
 )