BBlack has uploaded a new change for review.
https://gerrit.wikimedia.org/r/188972
Change subject: add vm tuning params to jessie cache nodes
......................................................................
add vm tuning params to jessie cache nodes
Change-Id: Ia91dd5adfb6ab4f35dc31b8b1b4dd0539cfed393
---
M manifests/role/cache.pp
1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/72/188972/1
diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index ad01711..f71a54e 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -731,9 +731,19 @@
max => 262144,
}
- # This needs newer-ish kernels, testing only on jessie+ hosts for
now
+ # These tweaks were only tested on and/or only work on jessie, may
+ # as well not disturb the working precise setup
if os_version('debian >= jessie') {
+ # RPS/RSS to spread network i/o evenly
interface::rps { 'eth0': }
+
+ # flush vm more steadily in the background. helps avoid large
performance
+ # spikes related to flushing out disk write cache.
+ sysctl::parameters { 'cache_role_vm_settings':
+ values => { 'vm.dirty_ratio' => 40, }, # default 20
+ values => { 'vm.dirty_background_ratio' => 5, }, # default
10
+ values => { 'vm.dirty_expire_centisecs' => 150, }, #
default 3000
+ }
}
}
--
To view, visit https://gerrit.wikimedia.org/r/188972
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia91dd5adfb6ab4f35dc31b8b1b4dd0539cfed393
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits