mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu" <yujie....@gmail.com>
Subject Review Request 35664: Improved the performance of DRF sorter by caching the scalars.
Date Fri, 19 Jun 2015 19:58:20 GMT

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

Review request for mesos, Ben Mahler and Vinod Kone.


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


Repository: mesos


Description
-------

Improved the performance of DRF sorter by caching the scalars.


Diffs
-----

  src/master/allocator/sorter/drf/sorter.hpp 35dc1a4d0b5e61b26a07c2c53583d75896aff27c 
  src/master/allocator/sorter/drf/sorter.cpp c5f4caf68aff26a9d4809eff11df98d0137aa401 

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


Testing
-------

make check

[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from SlaveCount/HierarchicalAllocator_BENCHMARK_Test
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/0
Added 1000 slaves in 668.950475ms
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/0 (844 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/1
Added 5000 slaves in 3.335592974secs
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/1 (4244 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/2
Added 10000 slaves in 6.675837646secs
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/2 (8527 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/3
Added 20000 slaves in 13.411382999secs
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/3 (17177 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/4
Added 30000 slaves in 20.012000768secs
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/4 (25567 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/5
Added 50000 slaves in 33.377255617secs
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/5 (42960 ms)
[----------] 6 tests from SlaveCount/HierarchicalAllocator_BENCHMARK_Test (99346 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (99452 ms total)
[  PASSED  ] 6 tests.


Thanks,

Jie Yu


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