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

Ship it!



src/tests/isolator_tests.cpp
<https://reviews.apache.org/r/31250/#comment122375>

    the other optional statistics default to false, is this safe to enable by 
default?



src/slave/flags.hpp
<https://reviews.apache.org/r/31250/#comment122372>

    should we follow the naming of the flags for enabling additional network 
related statistics, i.e., we already have 
"network_enable_socket_statistics_summary" and 
"network_enable_socket_statistics_details", so perhaps something like 
"cgroups_cpu_enable_pids_and_tids_count"?


- Ian Downes


On March 3, 2015, 5:47 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31250/
> -----------------------------------------------------------
> 
> (Updated March 3, 2015, 5:47 p.m.)
> 
> 
> Review request for mesos and Ian Downes.
> 
> 
> Bugs: mesos-2103
>     https://issues.apache.org/jira/browse/mesos-2103
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Ian, as discussed, I put the logic in cpu isolator for now until linux 
> launcher sees more and more need to report isolator-independent cgroup usage.
> 
> 
> Diffs
> -----
> 
>   include/mesos/mesos.proto 9df972d750ce1e4a81d2e96cc508d6f83cad2fc8 
>   src/slave/containerizer/isolators/cgroups/cpushare.cpp 
> d4967687241ddf50a85beb961d691a8974f24fea 
>   src/slave/flags.hpp 56b25caf3901b38bdecb50310e8bcae0b114efa8 
>   src/tests/isolator_tests.cpp f7323965b94543bfda78afc4f60fc677f4900ecd 
> 
> Diff: https://reviews.apache.org/r/31250/diff/
> 
> 
> Testing
> -------
> 
> added a new test. the test is end-to-end so that future replacement of the 
> actual logic won't require a change.
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>

Reply via email to