]> git.openstreetmap.org Git - chef.git/blobdiff - roles/necrosan.rb
Restart karma if the service definition changes
[chef.git] / roles / necrosan.rb
index 0acab52e5acf3de8aeafd026b366d52882a9527b..3112464698a57d4c42675f30f5cfd64983b13789 100644 (file)
@@ -27,6 +27,15 @@ default_attributes(
         :gateway => "2a05:46c0:100:1004::"
       }
     }
+  },
+  :sysfs => {
+    :hdd_tune => {
+      :comment => "Tune the queue for improved performance",
+      :parameters => {
+        "block/sda/queue/nr_requests" => "975",
+        "block/sdb/queue/rotational" => "0"
+      }
+    }
   }
 )