From: Grant Slater Date: Mon, 5 Aug 2013 10:20:51 +0000 (+0100) Subject: gorynych: Tune md sync performance so as not to kill system performance X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/cd410cd0dd1449f3a96831253524787d8529e590?hp=57b0b80c7359daace489fe75aee4277f883f528a;ds=sidebyside gorynych: Tune md sync performance so as not to kill system performance --- diff --git a/roles/gorynych.rb b/roles/gorynych.rb index 9d1119a33..c07d70592 100644 --- a/roles/gorynych.rb +++ b/roles/gorynych.rb @@ -14,6 +14,15 @@ default_attributes( } } }, + :sysfs => { + :md_tune => { + :comment => "Tune the md sync performance so as not to kill system performance", + :parameters => { + "block/md0/md/sync_speed_min" => "10", + "block/md0/md/sync_speed_max" => "10000" + } + } + }, :squid => { :cache_mem => "5800 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"