X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/8e3e7264d0bba3adc61ca88c33d636b0a7605da7..7da5b9d57f947103d26984f2b74a94027fc7c63b:/roles/nepomuk.rb?ds=inline diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 3c7d3ccf9..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,7 +39,7 @@ default_attributes( :hdd_tune => { :comment => "Tune the queue for improved performance", :parameters => { - "block/vda/queue/nr_requests" => "64", + "block/vda/queue/nr_requests" => "128", "block/vda/queue/scheduler" => "deadline" } }