nominatim: chef up kernel scheduler tuning
authorGrant Slater <git@firefishy.com>
Fri, 21 Feb 2014 14:56:59 +0000 (14:56 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 21 Feb 2014 14:56:59 +0000 (14:56 +0000)
roles/nominatim.rb

index 4e85a77efc8aa82b937158d440ae8f7ad9fd48d4..8e3ed5d0b29e83cca388398791583fcdfa405286 100644 (file)
@@ -45,6 +45,13 @@ default_attributes(
         "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
         "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
       }
+    },
+    :kernel_scheduler_tune => {
+      :comment => "Tune kernel scheduler preempt",
+      :parameters => {
+        "kernel.sched_min_granularity_ns" => 10000000,
+        "kernel.sched_wakeup_granularity_ns" => 15000000
+      }
     }
   },
   :nominatim => {