]> git.openstreetmap.org Git - chef.git/commitdiff
orm disk queue tuning
authorGrant Slater <openstreetmap@firefishy.com>
Tue, 2 Jul 2013 10:35:40 +0000 (10:35 +0000)
committerGrant Slater <openstreetmap@firefishy.com>
Tue, 2 Jul 2013 10:35:40 +0000 (10:35 +0000)
roles/orm.rb

index 66a7e6dbafa1bc8ac2e1d8b90ec65b64aed00c3c..ab268013084b0dd37aa0c475cbde58b3b5c42adc 100644 (file)
@@ -2,6 +2,58 @@ name "orm"
 description "Master role applied to orm"
 
 default_attributes(
+  :devices => {
+    :ssdvol1tune => {
+      :comment => "Tune scheduler for SSD",
+      :type => "block",
+      :bus => "scsi",
+      :sas_address => "0x4433221107000000",
+      :attrs => {
+        "queue/scheduler" => "noop",
+        "queue/nr_requests" => "256"
+      }
+    },
+    :ssdvol2tune => {
+      :comment => "Tune scheduler for SSD",
+      :type => "block",
+      :bus => "scsi",
+      :sas_address => "0x4433221104000000",
+      :attrs => {
+        "queue/scheduler" => "noop",
+        "queue/nr_requests" => "256"
+      }
+    },
+    :arecavol1tune => {
+      :comment => "Tune scheduler for Areca",
+      :type => "block",
+      :bus => "scsi",
+      :model => "ARC-1680-VOL#000",
+      :attrs => {
+        "queue/scheduler" => "deadline",
+        "queue/nr_requests" => "512"
+      }
+    },
+    :arecavol2tune => {
+      :comment => "Tune scheduler for Areca",
+      :type => "block",
+      :bus => "scsi",
+      :model => "ARC-1680-VOL#001",
+      :attrs => {
+        "queue/scheduler" => "deadline",
+        "queue/nr_requests" => "512"
+      }
+    },
+    :arecavol3tune => {
+      :comment => "Tune scheduler for Areca",
+      :type => "block",
+      :bus => "scsi",
+      :model => "ARC-1680-VOL#002",
+      :attrs => {
+        "queue/scheduler" => "deadline",
+        "queue/nr_requests" => "512"
+      }
+    }
+  },
   :munin => {
     :plugins => {
       :ipmi_fans => {