X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d29e6aa0b03a30551cbbdadc9354aedd4231929d..99369bc9d234aa9cf9f73f1733c3362788c7ded3:/roles/nepomuk.rb diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 8d64f6ac3..d80c2d314 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -22,6 +22,15 @@ default_attributes( } } }, + :sysctl => { + :kvm => { + :comment => "Tuning for KVM guest", + :parameters => { + "kernel.sched_min_granularity_ns" => 10000000, + "kernel.sched_wakeup_granularity_ns" => 15000000 + } + } + }, :squid => { :cache_mem => "7500 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" @@ -30,8 +39,8 @@ default_attributes( :hdd_tune => { :comment => "Tune the queue for improved performance", :parameters => { - "block/vda/queue/nr_requests" => "512", - "block/vda/queue/scheduler" => "noop" + "block/vda/queue/nr_requests" => "128", + "block/vda/queue/scheduler" => "deadline" } } },