projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74578d9
)
Tune scheduler on tile caches
author
Tom Hughes
<tom@compton.nu>
Fri, 31 May 2019 11:12:06 +0000
(12:12 +0100)
committer
Tom Hughes
<tom@compton.nu>
Fri, 31 May 2019 11:12:06 +0000
(12:12 +0100)
roles/tilecache.rb
patch
|
blob
|
history
diff --git
a/roles/tilecache.rb
b/roles/tilecache.rb
index a2e595f3bf93b20a9821fcb0487f3bbc2fc2904f..f45286e374a7fef5792d829032b22db9a10e5a2f 100644
(file)
--- a/
roles/tilecache.rb
+++ b/
roles/tilecache.rb
@@
-48,6
+48,13
@@
default_attributes(
:parameters => {
"vm.swappiness" => "30"
}
+ },
+ :sched_wakeup => {
+ :comment => "Tune scheduler",
+ :parameters => {
+ "kernel.sched_min_granularity_ns" => "10000000",
+ "kernel.sched_wakeup_granularity_ns" => "15000000"
+ }
}
}
)