]> git.openstreetmap.org Git - chef.git/blobdiff - roles/jakelong.rb
Use pfifo_fast as the default queuing discipline
[chef.git] / roles / jakelong.rb
index abe8d31bb3b477b29f160d4183e81fe83fc97636..160f4d594f99e82080030a9e49014e09bf1c3701 100644 (file)
@@ -33,13 +33,11 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
-    }
-  },
-  :sysfs => {
-    :hdd_tune => {
-      :comment => "Tune the queue for improved performance",
+    },
+    :network_conntrack_max => {
+      :comment => "Increase max number of connections tracked",
       :parameters => {
-        "block/xvda/queue/scheduler" => "deadline"
+        "net.netfilter.nf_conntrack_max" => "65536"
       }
     }
   },