tile: Kernel CPU scheduler preempt tuning
authorGrant Slater <git@firefishy.com>
Sat, 8 Mar 2014 17:37:53 +0000 (17:37 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 8 Mar 2014 17:38:15 +0000 (17:38 +0000)
roles/tile.rb

index f24b1ff..5af10b8 100644 (file)
@@ -44,6 +44,13 @@ default_attributes(
       :parameters => {
         "net.core.somaxconn" => 10000
       }
+    },
+    :kernel_scheduler_tune => {
+      :comment => "Tune kernel scheduler preempt",
+      :parameters => {
+        "kernel.sched_min_granularity_ns" => 10000000,
+        "kernel.sched_wakeup_granularity_ns" => 15000000
+      }
     }
   },
   :tile => {