projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eca5108
)
poldi: tweak md sync (check) performance to lower impact on machine
author
Grant Slater
<git@firefishy.com>
Thu, 5 Dec 2013 10:36:33 +0000
(10:36 +0000)
committer
Grant Slater
<git@firefishy.com>
Thu, 5 Dec 2013 10:36:33 +0000
(10:36 +0000)
roles/poldi.rb
patch
|
blob
|
history
diff --git
a/roles/poldi.rb
b/roles/poldi.rb
index 5f73b6239b07472e55c1663fed221d44bfc494c5..6a92cfc90818836f9b5b9f755533fabe1b470bbc 100644
(file)
--- 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 => {
:networking => {
:interfaces => {
:internal_ipv4 => {