]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tile.rb
tile: Use TCP BBR congestion control
[chef.git] / roles / tile.rb
index cb703ae71511b39cb172cab9e95b5a531c887b26..c4b0834d1e1f28265bf974ac0d7901f5372caf9b 100644 (file)
@@ -64,6 +64,13 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
+    },
+    :tcp_use_bbr => {
+      :comment => "Use TCP BBR Congestion Control",
+      :parameters => {
+        "net.core.default_qdisc" => "fq",
+        "net.ipv4.tcp_congestion_control" => "bbr"
+      }
     }
   },
   :tile => {