]> git.openstreetmap.org Git - chef.git/blobdiff - roles/eddie.rb
Use pfifo_fast as the default queuing discipline
[chef.git] / roles / eddie.rb
index 3478c8b4af0ec803c5707981ce2ec0d3eccbff02..8e9c7c1a87e7f744c761e4210a5fe18d2af4cc52 100644 (file)
@@ -25,7 +25,8 @@ default_attributes(
         :work_mem => "64MB",
         :maintenance_work_mem => "1GB",
         :effective_cache_size => "180GB",
-        :effective_io_concurrency => "256"
+        :effective_io_concurrency => "256",
+        :random_page_cost => "1.1"
       }
     }
   },
@@ -48,7 +49,8 @@ default_attributes(
         "block/nvme3n1/queue/nomerges" => "1",
         "block/nvme4n1/queue/nomerges" => "1",
         "block/nvme5n1/queue/nomerges" => "1",
-        "block/nvme6n1/queue/nomerges" => "1"
+        "block/nvme6n1/queue/nomerges" => "1",
+        "block/nvme7n1/queue/nomerges" => "1"
       }
     }
   }
@@ -56,5 +58,5 @@ default_attributes(
 
 run_list(
   "role[ucl]",
-  "role[db-master]"
+  "role[db-slave]"
 )