]> git.openstreetmap.org Git - chef.git/blobdiff - roles/base.rb
Switch 2 new switch2osm.org site
[chef.git] / roles / base.rb
index aa4c8e94472ae29cfd0a72bd130fd31ac693e522..f9cb68efc411a5cc6591f35f6bd91034df1680d0 100644 (file)
@@ -73,6 +73,13 @@ default_attributes(
       :parameters => {
         "net.core.default_qdisc" => "pfifo_fast"
       }
+    },
+    :tune_cpu_scheduler => {
+      :comment => "Tune CPU scheduler for server scheduling",
+      :parameters => {
+        "kernel.sched_migration_cost_ns" => 50000000,
+        "kernel.sched_autogroup_enabled" => 0
+      }
     }
   }
 )