]> git.openstreetmap.org Git - chef.git/commitdiff
Improve disk tuning on HP systems
authorGrant Slater <git@firefishy.com>
Mon, 17 Feb 2014 06:18:22 +0000 (06:18 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 17 Feb 2014 06:18:22 +0000 (06:18 +0000)
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] %>