]> git.openstreetmap.org Git - chef.git/commitdiff
necrosan: tweak raid queue settings
authorGrant Slater <git@firefishy.com>
Wed, 27 Jul 2022 11:55:43 +0000 (14:55 +0300)
committerGrant Slater <git@firefishy.com>
Wed, 27 Jul 2022 11:55:43 +0000 (14:55 +0300)
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"
+      }
+    }
   }
 )