mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <anindya_si...@apple.com>
Subject Re: Review Request 49571: Added a benchmark test for allocations.
Date Thu, 07 Jul 2016 02:20:31 GMT

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

(Updated July 7, 2016, 2:20 a.m.)


Review request for mesos and Jiang Yan Xu.


Changes
-------

Added test results from running benchmark on HEAD and with the patch.


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


Repository: mesos


Description
-------

This parameterized test has the following configurations:
(1) REGULAR: Offers from every slave have regular resources.
(2) SHARED: Offers from every slave include a shared resource.
(3) REGULAR: Offers from every alternate slave contain only regular
    resources; and offers from every other alternate slave contains
    a shared resource.


Diffs (updated)
-----

  src/tests/hierarchical_allocator_tests.cpp 0498cd5e54b0e4b87a767585a77699653aa52179 

Diff: https://reviews.apache.org/r/49571/diff/


Testing (updated)
-------

All tests passed. Following results show that the support of shared resources has a small
impact on runtime performance in allocations between HEAD and this patch. Also, there is no
visible impact in performance when shared resources are added in the tests.

Based on HEAD, with all regular resources (no shared resources in HEAD supported):
round 0 allocate took 3.074583secs to make 200 offers
round 50 allocate took 3.124076secs to make 200 offers
round 100 allocate took 3.136869secs to make 200 offers
round 150 allocate took 3.081407secs to make 200 offers
round 199 allocate took 3.087184secs to make 200 offers

With the patch (and no shared resources):
round 0 allocate took 3.297495secs to make 200 offers
round 50 allocate took 3.318641secs to make 200 offers
round 100 allocate took 3.312251secs to make 200 offers
round 150 allocate took 3.318052secs to make 200 offers
round 199 allocate took 3.3061secs to make 200 offers

With the patch (and shared resources on all agents):
round 0 allocate took 3.370602secs to make 200 offers
round 50 allocate took 3.380281secs to make 200 offers
round 100 allocate took 3.369976secs to make 200 offers
round 150 allocate took 3.372334secs to make 200 offers
round 199 allocate took 3.372049secs to make 200 offers

With the patch (and shared resources on alternate agents):
round 0 allocate took 3.360305secs to make 200 offers
round 50 allocate took 3.370903secs to make 200 offers
round 100 allocate took 3.369496secs to make 200 offers
round 150 allocate took 3.363246secs to make 200 offers
round 199 allocate took 3.485207secs to make 200 offers


Thanks,

Anindya Sinha


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message