]> git.openstreetmap.org Git - chef.git/blobdiff - roles/base.rb
Add basic tests for clamav, exim and spamassassin cookbooks
[chef.git] / roles / base.rb
index aa4c8e94472ae29cfd0a72bd130fd31ac693e522..bc08d820c4bd101c91ae3b1779e905d03ce44f6b 100644 (file)
@@ -69,9 +69,17 @@ default_attributes(
       }
     },
     :default_qdisc => {
-      :comment => "Use pfifo_fast as the default queuing discipline",
+      :comment => "Use fq as the default queuing discipline and bbr for congestion control",
       :parameters => {
-        "net.core.default_qdisc" => "pfifo_fast"
+        "net.core.default_qdisc" => "fq",
+        "net.ipv4.tcp_congestion_control" => "bbr"
+      }
+    },
+    :tune_cpu_scheduler => {
+      :comment => "Tune CPU scheduler for server scheduling",
+      :parameters => {
+        "kernel.sched_migration_cost_ns" => 50000000,
+        "kernel.sched_autogroup_enabled" => 0
       }
     }
   }