mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Re: Review Request 69098: Added a benchmark to compare quota and nonquota allocation performance.
Date Thu, 06 Dec 2018 22:42:43 GMT

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

(Updated Dec. 6, 2018, 2:42 p.m.)


Review request for mesos, Benjamin Mahler and Gastón Kleiman.


Changes
-------

Addressed Ben's comment.


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


Repository: mesos


Description
-------

This benchmark evaluates the performance difference between nonquota
and quota settings. In both settings, the same allocations are made
for fair comparison. In particular, since the agent will always be
allocated as a whole in nonquota settings, we should also avoid
agent chopping in quota setting as well. Thus in this benchmark,
quotas are only set to be multiples of whole agent resources.
This is also why we have this dedicated benchmark for comparison
rather than extending the existing quota benchmarks (which involves
agent chopping).


Diffs (updated)
-----

  src/tests/hierarchical_allocator_benchmarks.cpp 6c6330e8cdbc705be322a7e2445b295c35ee6952



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

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


Testing (updated)
-------

Nonquota run setup: 20 agents, 10 roles, 20 frameworks
Made 20 allocations in 2.687627ms
Made 0 allocation in 1.575616ms

Quota run setup: 20 agents, 10 roles, 20 frameworks
Made 20 allocations in 6.190203ms
Made 0 allocation in 3.978099ms

Nonquota run setup: 200 agents, 100 roles, 200 frameworks
Made 200 allocations in 45.137172ms
Made 0 allocation in 31.409069ms

Quota run setup: 200 agents, 100 roles, 200 frameworks
Made 200 allocations in 356.202073ms
Made 0 allocation in 246.514222ms

Nonquota run setup: 2000 agents, 1000 roles, 2000 frameworks
Made 2000 allocations in 3.915063634secs
Made 0 allocation in 3.642528426secs

Quota run setup: 2000 agents, 1000 roles, 2000 frameworks
Made 2000 allocations in 36.141305833secs
Made 0 allocation in 26.49620811secs


Thanks,

Meng Zhu


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