]> git.openstreetmap.org Git - chef.git/commitdiff
udev tune DELL PERC H710 scheduler
authorGrant Slater <git@firefishy.com>
Mon, 23 Dec 2019 15:59:13 +0000 (15:59 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 23 Dec 2019 15:59:13 +0000 (15:59 +0000)
cookbooks/devices/templates/default/udev.rules.erb

index 29443f2f00918d5ecf61355e5d8bd0b049265c82..800916fb9f6e0c4679a6a2c7e7ad6ed2a2b41650 100644 (file)
@@ -10,6 +10,11 @@ ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL
 ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="VMware", ENV{ID_MODEL}=="Virtual_disk", ATTR{queue/read_ahead_kb}="4096"
 ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="VMware", ENV{ID_MODEL}=="Virtual_disk", ATTR{queue/scheduler}="noop"
 
+# Dell PERC H710 tune
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="DELL", ENV{ID_MODEL}=="PERC_H710", ATTR{queue/read_ahead_kb}="4096"
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="DELL", ENV{ID_MODEL}=="PERC_H710", ATTR{queue/scheduler}="deadline"
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="DELL", ENV{ID_MODEL}=="PERC_H710", ATTR{queue/nr_requests}="512"
+
 <% node[:devices].each do |name,device| -%>
 
 # <%= device[:comment] %>