-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64969/
-----------------------------------------------------------

(Updated Jan. 13, 2018, 10:05 p.m.)


Review request for mesos, Benjamin Mahler, Michael Park, and Jiang Yan Xu.


Summary (updated)
-----------------

Added an performance benchmark for master `Getstate` v1 api.


Bugs: MESOS-8344
    https://issues.apache.org/jira/browse/MESOS-8344


Repository: mesos


Description
-------

This test is based on the MasterFailover benchmark which
currently lacks things like executor. It is possible
to add these when needed.


Diffs (updated)
-----

  src/tests/master_benchmarks.cpp 7d69588b3a4090ad1a755b592d2f8756ad6dff9e 


Diff: https://reviews.apache.org/r/64969/diff/3/

Changes: https://reviews.apache.org/r/64969/diff/2-3/


Testing (updated)
-------

Output from running on MacBook Pro with 3.3 GHz Intel Core i7, build with 
`--enable-optimize`:

Test setup: 1000 agents with a total of 10000 running tasks and 10000 completed 
tasks.
v0 "/state" query response took 1.403131111secs
v1 Getstate application/x-protobuf query response took 740.884501ms
v1 Getstate application/json query response took 2.135107626secs

Test setup: 10000 agents with a total of 100000 running tasks and 100000 
completed tasks.
v0 "/state" query response took 11.139078974secs
v1 Getstate application/x-protobuf query response took 6.36517239secs
v1 Getstate application/json query response took 17.819870607secs

Test setup: 20000 agents with a total of 200000 running tasks and 200000 
completed tasks.
v0 "/state" query response took 23.799843627secs
v1 Getstate application/x-protobuf query response took 13.452961634secs
v1 Getstate application/json query response took 39.918585368secs

Test setup: 40000 agents with a total of 400000 running tasks and 400000 
completed tasks.
v0 "/state" query response took 55.937478032secs
v1 Getstate application/x-protobuf query response took 31.563554371secs
v1 Getstate application/json query response took 1.4046275711mins


Thanks,

Meng Zhu

Reply via email to