]> git.openstreetmap.org Git - chef.git/commitdiff
Use pfifo_fast as the default queuing discipline
authorTom Hughes <tom@compton.nu>
Thu, 2 Aug 2018 07:40:35 +0000 (08:40 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 2 Aug 2018 07:40:56 +0000 (08:40 +0100)
roles/base.rb

index 0383da15e4f1c0d90eae930204468d019cdf147b..094190e1a8561d0c099ad0632322eb2199ece311 100644 (file)
@@ -63,6 +63,12 @@ default_attributes(
       :parameters => {
         "net.ipv4.tcp_syncookies" => "1"
       }
+    },
+    :default_qdisc => {
+      :comment => "Use pfifo_fast as the default queuing discipline",
+      :parameters => {
+        "net.core.default_qdisc" => "pfifo_fast"
+      }
     }
   },
   :sysfs => {