mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Review Request 69097: Added an allocator benchmark for quota performance.
Date Sat, 20 Oct 2018 01:29:55 GMT

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

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


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


Repository: mesos


Description
-------

This benchmark evaluates the allocator performance in
the presence of roles with both small quota (which can
be satisfied by half an agent) as well as large quota
(which need resources from two agents). We setup the cluster,
trigger one allocation cycle and measure the elapsed time.


Diffs
-----

  src/tests/hierarchical_allocator_benchmarks.cpp bf9167b63747f7b8a402d950947028436307082a



Diff: https://reviews.apache.org/r/69097/diff/1/


Testing
-------

Non-optimized build benchmark output: (more comprehensive evaluation result across versions
coming soon)

[ RUN      ] QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam.LargeAndSmallQuota/0
Added 20 agents in 5.309874ms
Added 25 frameworks in 27.042131ms
Benchmark setup: 20 agents,25 roles,25 frameworks
Start allocation
Made 30 allocations in 48.177949ms
Made 0 allocations in 29.614912ms
[       OK ] QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam.LargeAndSmallQuota/0
(120 ms)
[ RUN      ] QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam.LargeAndSmallQuota/1
Added 200 agents in 34.231511ms
Added 250 frameworks in 1.357743423secs
Benchmark setup: 200 agents,250 roles,250 frameworks
Start allocation
Made 300 allocations in 2.914780849secs
Made 0 allocations in 2.810148522secs
[       OK ] QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam.LargeAndSmallQuota/1
(7214 ms)
[ RUN      ] QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam.LargeAndSmallQuota/2
Added 2000 agents in 313.264128ms
Added 2500 frameworks in 2.05919510856667mins
Benchmark setup: 2000 agents,2500 roles,2500 frameworks
Start allocation
Made 3000 allocations in 4.4429533321mins
Made 0 allocations in 3.98358875688333mins
[       OK ] QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam.LargeAndSmallQuota/2
(633498 ms)
[----------] 3 tests from QuotaParam/HierarchicalAllocator_BENCHMARK_WithQuotaParam (640834
ms total)


Thanks,

Meng Zhu


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