You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/03/29 12:23:45 UTC

[GitHub] [incubator-openwhisk] axiqia opened a new issue #4414: Performce: the latency and total run time increase when invoker_user_memory increase?

axiqia opened a new issue #4414: Performce: the latency and total run time increase when invoker_user_memory increase? 
URL: https://github.com/apache/incubator-openwhisk/issues/4414
 
 
   <!--
   We use the issue tracker for bugs and feature requests. For general questions and discussion please use http://slack.openwhisk.org/ or https://openwhisk.apache.org/contact.html instead.
   
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   * local deployment, native ubuntu
   * ubuntu16, 
   * CPU:Xeon(R) CPU E5-2630 v4 * 40
   * memory:252G
   * all the ow component is deployed in a server with one controller and one invoker.
   
   ## Steps to reproduce the issue:
   We first define a simple Node.js action and save it as sleepy.js in the local file system. This action is anything but sophisticated: it just sleeps for a number of milliseconds as specified in its argument and echoes back the argument.
   
   ```
   function main(args) {
       return new Promise(function(resolve, reject) {
         setTimeout(function() {
           resolve({ timeout: args.timeout });
         }, args.timeout);
      })
   }
   ```
   
   We use this simple action only to stress OW, and deploy invoker with `invoker_user_memory` increase from 2048m to 10240M, step by 2048m. 
   
   Then we test OW with `loadtest`(the detail script [here](https://github.com/axiqia/lean-openwhisk-performance/blob/master/repeats.sh)),  the test iterates over the specified test configurations. 
   
   Each test is replicated 15 times as specified by the repeats parameter to gain statistical significance of the results([detailed](https://github.com/axiqia/lean-openwhisk-performance/blob/master/alllog)).
   
   
   ## Provide the actual results and outputs:
   
   I increase  `invoker_user_memory` for invoker, and it should have more capacity to run more container a time, but our experiment bellow shows that the latency and total run time increase instead of declining.
   
   ![latency](https://github.com/axiqia/lean-openwhisk-performance/blob/master/latency.png)
   ![totaltime](https://github.com/axiqia/lean-openwhisk-performance/blob/master/totaltime.png)
   
   
   ## Additional information you deem important:
   * Relevant issues https://lists.apache.org/thread.html/dfccf972bc1419fe48dbc23119441108c45f85d53625fd6f8fc04fcb@%3Cdev.openwhisk.apache.org%3E

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services