]> git.openstreetmap.org Git - chef.git/commitdiff
Yevaud: disk queue tuning
authorGrant Slater <git@firefishy.com>
Fri, 9 Aug 2013 21:14:10 +0000 (22:14 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 9 Aug 2013 21:14:10 +0000 (22:14 +0100)
roles/yevaud.rb

index 450baa6073b1cf6e10e11fc9c8b762c944a8faa4..a63a613ad9fab702ff3ca9b7d485a969c40a3b2d 100644 (file)
@@ -2,6 +2,48 @@ name "yevaud"
 description "Master role applied to yevaud"
 
 default_attributes(
+  :devices => {
+    :osdisktune1 => {
+      :comment => "Tune os disk",
+      :type => "block",
+      :bus => "scsi",
+      :serial => "20004d927fffff800",
+      :attrs => {
+        "queue/scheduler" => "deadline",
+        "queue/nr_requests" => "512"
+      }
+    },
+    :disktune2 => {
+      :comment => "Tune database array",
+      :type => "block",
+      :bus => "scsi",
+      :serial => "20004d927fffff802",
+      :attrs => {
+        "queue/scheduler" => "deadline",
+        "queue/nr_requests" => "512"
+      }
+    },
+    :disktune3 => {
+      :comment => "Tune os disk",
+      :type => "block",
+      :bus => "scsi",
+      :serial => "20004d927fffff803",
+      :attrs => {
+        "queue/scheduler" => "deadline",
+        "queue/nr_requests" => "512"
+      }
+    },
+    :ssdtune1 => {
+      :comment => "Tune ssd disk",
+      :type => "block",
+      :bus => "ata",
+      :serial => "INTEL_SSDSA2CW600G3_CVPR111401HP600FGN",
+      :attrs => {
+        "queue/scheduler" => "noop",
+        "queue/nr_requests" => "512"
+      }
+    }
+  },
   :munin => {
     :plugins => {
       :cpu => {