Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/212266

Change subject: hhvm: adjust TC size and ratios
......................................................................

hhvm: adjust TC size and ratios

I created the new values based on data collected in production

Change-Id: I15a428c95b5affe27db323334a3ab47e11394c7f
---
M modules/hhvm/manifests/init.pp
1 file changed, 4 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/66/212266/1

diff --git a/modules/hhvm/manifests/init.pp b/modules/hhvm/manifests/init.pp
index 160aee8..4df286b 100644
--- a/modules/hhvm/manifests/init.pp
+++ b/modules/hhvm/manifests/init.pp
@@ -63,7 +63,7 @@
     $fcgi_settings = {},
     $cli_settings  = {},
     $cache_dir     = '/run/hhvm/cache',
-    $base_jit_size = to_bytes('200 Mb'),
+    $base_jit_size = to_bytes('300 Mb'),
 ) {
     requires_os('ubuntu >= trusty')
 
@@ -91,14 +91,12 @@
     # You can check TC memory usage stats via the /vm-tcspace end-point
     # of the admin server.
     #
-    # A ratio of 1 : 0.33 : 1 for a : a_cold : a_frozen is good
-    # general guidance. It has been raised to a larger value as cold
-    # TC was completely exhausted.
-
+    # A ratio of 1 : 0.5 : 0.5 for a : a_cold : a_frozen is good
+    # in our use-case.
 
     $a_size        = $base_jit_size
     $a_cold_size   = 0.5 * $base_jit_size
-    $a_frozen_size = $base_jit_size
+    $a_frozen_size = 0.5 * $base_jit_size
 
 
     $common_defaults = {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I15a428c95b5affe27db323334a3ab47e11394c7f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to