X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d29e6aa0b03a30551cbbdadc9354aedd4231929d..3d2e0b4fc4b43a257f31c8d69bd672a98b8f14ec:/roles/nadder-01.rb diff --git a/roles/nadder-01.rb b/roles/nadder-01.rb index 8eb9d562f..c687a9fe8 100644 --- a/roles/nadder-01.rb +++ b/roles/nadder-01.rb @@ -14,12 +14,21 @@ default_attributes( } } }, + :sysctl => { + :kvm => { + :comment => "Tuning for KVM guest", + :parameters => { + "kernel.sched_min_granularity_ns" => 10000000, + "kernel.sched_wakeup_granularity_ns" => 15000000 + } + } + }, :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/nr_requests" => "128", + "block/vdb/queue/nr_requests" => "128", "block/vda/queue/scheduler" => "deadline", "block/vdb/queue/scheduler" => "deadline" }