jakelong, nepomuk: Decrease scheduler queue depth to improve latency
authorGrant Slater <git@firefishy.com>
Sat, 8 Feb 2014 07:31:58 +0000 (07:31 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 8 Feb 2014 07:31:58 +0000 (07:31 +0000)
roles/jakelong.rb
roles/nepomuk.rb

index 41b409f5d76e25e6bf64f449f16be0ced178ab3e..5338778e0b58d1723c24ceeee788784b2f343089 100644 (file)
@@ -26,6 +26,15 @@ default_attributes(
     :cache_mem => "650 MB",
     :cache_dir => "coss /store/squid/coss-01 15000 block-size=8192 max-size=262144 membufs=30"
   },
+  :sysfs => {
+    :hdd_tune => {
+      :comment => "Tune the queue for improved performance",
+      :parameters => {
+        "block/xvda/queue/nr_requests" => "64",
+        "block/xvda/queue/scheduler" => "deadline"
+      }
+    }
+  },
   :tilecache => {
     :tile_parent => "sanfrancisco.render.openstreetmap.org",
     :tile_siblings => [
index 8d64f6ac3684538ddc396dfa847439b8b4f2a28e..3c7d3ccf9340c88ad8a58c0f2e3329a50ac9c7c5 100644 (file)
@@ -30,8 +30,8 @@ default_attributes(
     :hdd_tune => {
       :comment => "Tune the queue for improved performance",
       :parameters => {
-        "block/vda/queue/nr_requests" => "512",
-       "block/vda/queue/scheduler" => "noop"
+        "block/vda/queue/nr_requests" => "64",
+        "block/vda/queue/scheduler" => "deadline"
       }
     }
   },