md: sync_speed_min at minimum, sync_speed_max to reasonable level
authorGrant Slater <git@firefishy.com>
Wed, 16 Jul 2014 16:52:01 +0000 (17:52 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 16 Jul 2014 16:52:01 +0000 (17:52 +0100)
roles/gorynych.rb
roles/poldi.rb
roles/ridgeback.rb
roles/trogdor.rb

index 0b035b1825558c92426c2ba75c8f7a352f348678..13b246a6358ef4101ef17d6c2e66ce067558e6f4 100644 (file)
@@ -18,8 +18,8 @@ default_attributes(
     :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"
+        "block/md0/md/sync_speed_min" => "1",
+        "block/md0/md/sync_speed_max" => "100000"
       }
     }
   },
index 73fb31c058c6881bc823e5c4218fbb6388a39828..4ad926449ed48801b39ede3edb2405fef8717f40 100644 (file)
@@ -32,7 +32,7 @@ default_attributes(
     :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_min" => "1",
         "block/md0/md/sync_speed_max" => "100000"
       }
     }
index 73d32f9d1f33a9d9c8a5589718edc0558604e7dd..28dd20c573024be67f97a4050bdaeeeb71695968 100644 (file)
@@ -18,10 +18,10 @@ default_attributes(
     :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",
-        "block/md1/md/sync_speed_min" => "10",
-        "block/md1/md/sync_speed_max" => "10000"
+        "block/md0/md/sync_speed_min" => "1",
+        "block/md0/md/sync_speed_max" => "100000",
+        "block/md1/md/sync_speed_min" => "1",
+        "block/md1/md/sync_speed_max" => "100000"
       }
     }
   },
index 5ba0b66c8457468004bd700dafee0be2fe1069dd..4c6c3f56869e41ddb84ab1b3f7dd25b3c5572bf5 100644 (file)
@@ -18,10 +18,10 @@ default_attributes(
     :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",
-        "block/md1/md/sync_speed_min" => "10",
-        "block/md1/md/sync_speed_max" => "10000"
+        "block/md0/md/sync_speed_min" => "1",
+        "block/md0/md/sync_speed_max" => "100000",
+        "block/md1/md/sync_speed_min" => "1",
+        "block/md1/md/sync_speed_max" => "100000"
       }
     }
   },