]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/devices/templates/default/udev.rules.erb
Improve disk tuning on HP systems
[chef.git] / cookbooks / devices / templates / default / udev.rules.erb
index 27951c4fface6f9e199f277e097c6223ce9b2dbb..8f40e5b7dc784df0f93c804ee051fddcfe4a3eb1 100644 (file)
@@ -3,6 +3,7 @@
 # HP Smart Array configuration
 ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/scheduler}="noop"
 ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/nr_requests}="512"
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/read_ahead_kb}="4096"
 <% node[:devices].each do |name,device| -%>
 
 # <%= device[:comment] %>