mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Rukletsov <ruklet...@gmail.com>
Subject Re: Review Request 43882: Added allocation metrics for allocation time.
Date Tue, 01 Mar 2016 11:48:47 GMT

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




src/master/allocator/mesos/hierarchical.cpp (lines 1216 - 1219)
<https://reviews.apache.org/r/43882/#comment183120>

    As per our offline discussion, let's pull it out to libprocess. Maybe even create a ticket
for a sweep change to use this new helper in relevant places?



src/tests/hierarchical_allocator_tests.cpp (lines 2557 - 2558)
<https://reviews.apache.org/r/43882/#comment183121>

    Blank line.



src/tests/hierarchical_allocator_tests.cpp (line 2559)
<https://reviews.apache.org/r/43882/#comment183122>

    You can remove this blank line.



src/tests/hierarchical_allocator_tests.cpp (line 2568)
<https://reviews.apache.org/r/43882/#comment183123>

    Here two event-based allocation happen, but you are only interested in one. Could you
please describe your intention, so that folks understand why it is fine? Thanks.



src/tests/hierarchical_allocator_tests.cpp (line 2577)
<https://reviews.apache.org/r/43882/#comment183082>

    Why don't you need to convert to `JSON::Number` first?


- Alexander Rukletsov


On Feb. 29, 2016, 7:59 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43882/
> -----------------------------------------------------------
> 
> (Updated Feb. 29, 2016, 7:59 p.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov and Ben Mahler.
> 
> 
> Bugs: MESOS-4721
>     https://issues.apache.org/jira/browse/MESOS-4721
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added allocation metrics for allocation time.
> 
> 
> Diffs
> -----
> 
>   docs/monitoring.md 827f7073204fcf8575ca980a5571c8be4f5e4110 
>   src/master/allocator/mesos/hierarchical.hpp 3043888630b066505410d3b32c5b3f813cc458c1

>   src/master/allocator/mesos/hierarchical.cpp 24fa50f62dec10ed43089297473cc386d6ba2f78

>   src/tests/hierarchical_allocator_tests.cpp 5f771f02db9bd098f3cd36730cd84bf2f5e87a33

> 
> Diff: https://reviews.apache.org/r/43882/diff/
> 
> 
> Testing
> -------
> 
> make check (OS X)
> 
> I confirmed that this does not lead to general performance regressions in the allocator;
this is partially expected since the added code only inserts metrics in the allocator while
the actual work is perform asynchronously. These tests where performed with `HierarchicalAllocator_BENCHMARK_Test.DeclineOffers`
on an optimized build under OS X using clang(trunk) as compiler.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


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