You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/04 22:33:08 UTC

[GitHub] hsane2001 commented on issue #2175: Provide a performance test-harness

hsane2001 commented on issue #2175: Provide a performance test-harness
URL: https://github.com/apache/incubator-openwhisk/issues/2175#issuecomment-320367376
 
 
   Hi ,
   
   Running this harness on a OpenWhisk deployment running on a native Ubuntu system runs into failures.
   The noopLatency action is created and can be invoked via "wsk cli" but in the latency test "docker run" is used. Can you explain what is happening? It seems loadtest is being run in a docker container (outside the wsk system, since its not invoked by wsk) and then invokes the noop action "n" number of times. Is that whats happening? - Anyway I hit this error:
   
   docker run --rm markusthoemmes/loadtest loadtest -n 10000 -k -m POST -H Authorization: basic MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1AK http://10.x.x.y:10001/api/v1/namespaces/_/actions/noopLatency?blocking=true
   headers: object, {"host":"10.x.x.y:10001","user-agent":"loadtest/2.3.0","accept":"*/*","authorization":" basic MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1AK"}
   [Fri Aug 04 2017 15:11:27 GMT+0000 (UTC)] INFO Requests: 0 (0%), requests per second: 0, mean latency: 0 ms
   [Fri Aug 04 2017 15:11:32 GMT+0000 (UTC)] INFO Requests: 3895 (39%), requests per second: 779, mean latency: 1.3 ms
   [Fri Aug 04 2017 15:11:32 GMT+0000 (UTC)] INFO Errors: 3836, accumulated errors: 3836, 98.5% of total requests
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Target URL:          http://10.x.x.y:10001/api/v1/namespaces/_/actions/noopLatency?blocking=true
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Max requests:        10000
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Concurrency level:   1
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Agent:               keepalive
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Completed requests:  10000
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Total errors:        9941
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Total time:          9.843250379999999 s
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Requests per second: 1016
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Mean latency:        1 ms
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO Percentage of the requests served within a certain time
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO   50%      1 ms
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO   90%      1 ms
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO   95%      1 ms
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO   99%      1 ms
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO  100%      388 ms (longest request)
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO  100%      388 ms (longest request)
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO
   [Fri Aug 04 2017 15:11:37 GMT+0000 (UTC)] INFO   429:   9941 errors
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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