]> git.openstreetmap.org Git - chef.git/commitdiff
tile: Enable TCP BBR again experimentally. Uplinks not congested
authorGrant Slater <git@firefishy.com>
Wed, 9 Jun 2021 17:24:48 +0000 (18:24 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 9 Jun 2021 17:24:48 +0000 (18:24 +0100)
roles/tile.rb

index dbc2d5fd8bbc641e2080b050696429fc735ea641..82dcc21baa9c200821c7aac4d3eaa0a490629868 100644 (file)
@@ -68,7 +68,20 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
-    }
+    },
+    :no_tcp_slow_start => {
+      :comment => "Disable TCP slow start",
+      :parameters => {
+        "net.ipv4.tcp_slow_start_after_idle" => "0"
+      }
+    },
+    :tcp_use_bbr => {
+      :comment => "Use TCP BBR Congestion Control",
+      :parameters => {
+        "net.core.default_qdisc" => "fq",
+        "net.ipv4.tcp_congestion_control" => "bbr"
+      }
+    },
   },
   :tile => {
     :database => {