You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dr...@apache.org on 2018/08/27 21:05:25 UTC

[incubator-openwhisk-devtools] branch master updated: Update for memory-based loadbalancing config change (#151)

This is an automated email from the ASF dual-hosted git repository.

dragos pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-devtools.git


The following commit(s) were added to refs/heads/master by this push:
     new a4dd18b  Update for memory-based loadbalancing config change (#151)
a4dd18b is described below

commit a4dd18b644d1882fbd8f88f4aff58d188ecf19ba
Author: Justin Halsall <Ju...@users.noreply.github.com>
AuthorDate: Mon Aug 27 17:03:50 2018 -0400

    Update for memory-based loadbalancing config change (#151)
    
    * Change config to work with 0.9.0
    
    CONFIG_whisk_loadbalancer_invokerBusyThreshold has been replaced with CONFIG_whisk_loadbalancer_invokerUserMemory.
    
    * Add potential other configuration options
    
    * Remove unused config items
    
    * Remove quotes from config
    
    * Reformat memory footprint
    
    Some containers prefer it this way
---
 docker-compose/docker-whisk-controller.env | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/docker-compose/docker-whisk-controller.env b/docker-compose/docker-whisk-controller.env
index aef8029..3f3513a 100644
--- a/docker-compose/docker-whisk-controller.env
+++ b/docker-compose/docker-whisk-controller.env
@@ -36,7 +36,8 @@ LIMITS_ACTIONS_SEQUENCE_MAXLENGTH=20
 
 CONFIG_whisk_loadbalancer_blackboxFraction=0.1
 CONFIG_kamon_statsd_port=8125
-CONFIG_whisk_loadbalancer_invokerBusyThreshold=16
+CONFIG_whisk_loadbalancer_invokerUserMemory=1024m
+CONFIG_whisk_containerPool_userMemory=1024m
 
 CONTROLLER_BLACKBOXFRACTION=0.10
 CONTROLLER_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=1098
@@ -49,10 +50,8 @@ METRICS_LOG=True
 CONFIG_kamon_statsd_port=8125
 
 LOADBALANCER_ACTIVATIONCOUNTBEFORENEXTINVOKER=10
-LOADBALANCER_INVOKERBUSYTHRESHOLD=16
+LOADBALANCER_USERMEMORY=1024m
 
-INVOKER_NUMCORE=2
-INVOKER_CORESHARE=2
 INVOKER_USE_RUNC=False
 INVOKER_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=1098
 INVOKER_INSTANCES=1