BBlack has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/356394 )

Change subject: cache_upload: rebalance storage bins
......................................................................

cache_upload: rebalance storage bins

Pushing this will modify the systemd unit file immediately, but
the changes won't take effect until the next
varnish-backend-restart (which wipes the storage files to let them
be recreated).

Bug: T145661
Change-Id: I82d56a5514faffad1d03aa5e4e1e4b6996abbb62
---
M modules/role/manifests/cache/upload.pp
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/94/356394/1

diff --git a/modules/role/manifests/cache/upload.pp 
b/modules/role/manifests/cache/upload.pp
index 1540224..52b00b9 100644
--- a/modules/role/manifests/cache/upload.pp
+++ b/modules/role/manifests/cache/upload.pp
@@ -61,11 +61,11 @@
     $sda = $::role::cache::base::storage_parts[0]
     $sdb = $::role::cache::base::storage_parts[1]
     $ssm = $::role::cache::base::storage_size * 2 * 1024
-    $bin0_size = floor($ssm * 0.03)
-    $bin1_size = floor($ssm * 0.20)
-    $bin2_size = floor($ssm * 0.43)
-    $bin3_size = floor($ssm * 0.30)
-    $bin4_size = floor($ssm * 0.04)
+    $bin0_size = floor($ssm * 0.04)
+    $bin1_size = floor($ssm * 0.23)
+    $bin2_size = floor($ssm * 0.40)
+    $bin3_size = floor($ssm * 0.27)
+    $bin4_size = floor($ssm * 0.06)
     $upload_storage_args = join([
         "-s bin0=file,/srv/${sda}/varnish.bin0,${bin0_size}M",
         "-s bin1=file,/srv/${sdb}/varnish.bin1,${bin1_size}M",

-- 
To view, visit https://gerrit.wikimedia.org/r/356394
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I82d56a5514faffad1d03aa5e4e1e4b6996abbb62
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

Reply via email to