From cd410cd0dd1449f3a96831253524787d8529e590 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 5 Aug 2013 11:20:51 +0100 Subject: [PATCH 1/1] gorynych: Tune md sync performance so as not to kill system performance --- roles/gorynych.rb | 9 +++++++++ 1 file changed, 9 insertions(+) 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" -- 2.43.2