]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nadder-01.rb
Tilecache: Firewall allow ICP traffic between caches
[chef.git] / roles / nadder-01.rb
index 62e23b6dd7ecf3a81e7c1605bc3985df52100c80..0ce74c95c65f9e0dbcd9c656088c59d266a19ab7 100644 (file)
@@ -14,8 +14,19 @@ default_attributes(
       }
     }
   },
+  :sysfs => {
+    :hdd_tune => {
+      :comment => "Tune the queue for improved performance",
+      :parameters => {
+        "block/vda/queue/nr_requests" => "512",
+        "block/vdb/queue/nr_requests" => "512",
+        "block/vda/queue/scheduler" => "deadline",
+        "block/vdb/queue/scheduler" => "deadline"
+      }
+    }
+  },
   :squid => {
-    :cache_mem => "5500 MB",
+    :cache_mem => "6500 MB",
     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
   }
 )