Details
Description
Benchmarks effects of framework suppression on allocation time. Frameworks are suppressed and resources recovered each iteration and allocation time is measured as we move to suppress all frameworks in the test case. Referencing MESOS-4694.
Sample run at top of tree:
[ RUN ] SlaveAndFrameworkCount/HierarchicalAllocator_BENCHMARK_Test.SuppressOffers/35
Using 5000 agents and 6000 frameworks
allocate() took 3.7728787mins to make 5000 offers with 1200 out of 6000 frameworks suppressing offers
allocate() took 3.87392973333333mins to make 5000 offers with 2400 out of 6000 frameworks suppressing offers
allocate() took 3.79724098333333mins to make 5000 offers with 3600 out of 6000 frameworks suppressing offers
allocate() took 3.85926955mins to make 5000 offers with 4800 out of 6000 frameworks suppressing offers
allocate() took 23.114991secs to make 0 offers with 6000 out of 6000 frameworks suppressing offers
[ OK ] SlaveAndFrameworkCount/HierarchicalAllocator_BENCHMARK_Test.SuppressOffers/35 (1157073 ms)
Sample run with MESOS-4694 (https://reviews.apache.org/r/43666/):
[ RUN ] SlaveAndFrameworkCount/HierarchicalAllocator_BENCHMARK_Test.SuppressOffers/35
Using 5000 agents and 6000 frameworks
allocate() took 2.88074761666667mins to make 5000 offers with 1200 out of 6000 frameworks suppressing offers
allocate() took 2.09856698333333mins to make 5000 offers with 2400 out of 6000 frameworks suppressing offers
allocate() took 1.3209152mins to make 5000 offers with 3600 out of 6000 frameworks suppressing offers
allocate() took 36.852357secs to make 5000 offers with 4800 out of 6000 frameworks suppressing offers
allocate() took 76064us to make 0 offers with 6000 out of 6000 frameworks suppressing offers
[ OK ] SlaveAndFrameworkCount/HierarchicalAllocator_BENCHMARK_Test.SuppressOffers/35 (624856 ms)
Attachments
Issue Links
- relates to
-
MESOS-4694 DRFAllocator takes very long to allocate resources with a large number of frameworks
- Resolved