From fb2e24074f3c4748f319312a2c1fe729e47e6155 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 5 Dec 2013 10:36:33 +0000 Subject: [PATCH] poldi: tweak md sync (check) performance to lower impact on machine --- roles/poldi.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/poldi.rb b/roles/poldi.rb index 5f73b6239..6a92cfc90 100644 --- a/roles/poldi.rb +++ b/roles/poldi.rb @@ -31,6 +31,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" => "100", + "block/md0/md/sync_speed_max" => "100000" + } + } + }, :networking => { :interfaces => { :internal_ipv4 => { -- 2.39.5