projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd10af
)
nominatim: chef up kernel scheduler tuning
author
Grant Slater
<git@firefishy.com>
Fri, 21 Feb 2014 14:56:59 +0000
(14:56 +0000)
committer
Grant Slater
<git@firefishy.com>
Fri, 21 Feb 2014 14:56:59 +0000
(14:56 +0000)
roles/nominatim.rb
patch
|
blob
|
history
diff --git
a/roles/nominatim.rb
b/roles/nominatim.rb
index 4e85a77efc8aa82b937158d440ae8f7ad9fd48d4..8e3ed5d0b29e83cca388398791583fcdfa405286 100644
(file)
--- a/
roles/nominatim.rb
+++ b/
roles/nominatim.rb
@@
-45,6
+45,13
@@
default_attributes(
"kernel.shmmax" => 26 * 1024 * 1024 * 1024,
"kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
}
+ },
+ :kernel_scheduler_tune => {
+ :comment => "Tune kernel scheduler preempt",
+ :parameters => {
+ "kernel.sched_min_granularity_ns" => 10000000,
+ "kernel.sched_wakeup_granularity_ns" => 15000000
+ }
}
},
:nominatim => {