Giuseppe Lavagetto has submitted this change and it was merged. 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, 5 insertions(+), 7 deletions(-) Approvals: Giuseppe Lavagetto: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/hhvm/manifests/init.pp b/modules/hhvm/manifests/init.pp index 160aee8..9d64589 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('400 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.33 : 0.33 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_cold_size = 0.33 * $base_jit_size + $a_frozen_size = 0.33 * $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: merged Gerrit-Change-Id: I15a428c95b5affe27db323334a3ab47e11394c7f Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org> Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits