You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Ian Downes <ia...@gmail.com> on 2014/06/09 07:08:42 UTC

Re: Review Request 20963: Add a cgroup perf_event isolator.

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

(Updated June 8, 2014, 10:08 p.m.)


Review request for mesos and Benjamin Hindman.


Changes
-------

Rebased. NNTR.


Repository: mesos-git


Description
-------

This isolator only creates the perf_event cgroup and places the executor into the cgroup; no performance statistics are gathered/exported.

NOTE: The recover() as implemented is "non-strict"; it will happily recover containers even if they don't have a perf_event cgroup present. This permits restarting the slave to add this isolator. Existing containers will not be isolated. New containers will be isolated.


Diffs (updated)
-----

  src/Makefile.am 4a3f2e12643a1f02284587ebcbe9374f416b3d60 
  src/slave/containerizer/isolators/cgroups/perf_event.hpp PRE-CREATION 
  src/slave/containerizer/isolators/cgroups/perf_event.cpp PRE-CREATION 

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


Testing
-------

Manually tested.

Our current testing code does not easily permit testing different combinations of isolators for the MesosContainerizer.


Thanks,

Ian Downes


Re: Review Request 20963: Add a cgroup perf_event isolator.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20963/#review45062
-----------------------------------------------------------


Patch looks great!

Reviews applied: [20963]

All tests passed.

- Mesos ReviewBot


On June 9, 2014, 5:08 a.m., Ian Downes wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20963/
> -----------------------------------------------------------
> 
> (Updated June 9, 2014, 5:08 a.m.)
> 
> 
> Review request for mesos and Benjamin Hindman.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This isolator only creates the perf_event cgroup and places the executor into the cgroup; no performance statistics are gathered/exported.
> 
> NOTE: The recover() as implemented is "non-strict"; it will happily recover containers even if they don't have a perf_event cgroup present. This permits restarting the slave to add this isolator. Existing containers will not be isolated. New containers will be isolated.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 4a3f2e12643a1f02284587ebcbe9374f416b3d60 
>   src/slave/containerizer/isolators/cgroups/perf_event.hpp PRE-CREATION 
>   src/slave/containerizer/isolators/cgroups/perf_event.cpp PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20963/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> Our current testing code does not easily permit testing different combinations of isolators for the MesosContainerizer.
> 
> 
> Thanks,
> 
> Ian Downes
> 
>


Re: Review Request 20963: Add a cgroup perf_event isolator.

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20963/#review45542
-----------------------------------------------------------

Ship it!


Ship It!

- Vinod Kone


On June 12, 2014, 9:50 p.m., Ian Downes wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20963/
> -----------------------------------------------------------
> 
> (Updated June 12, 2014, 9:50 p.m.)
> 
> 
> Review request for mesos and Vinod Kone.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This isolator only creates the perf_event cgroup and places the executor into the cgroup; no performance statistics are gathered/exported.
> 
> NOTE: The recover() as implemented is "non-strict"; it will happily recover containers even if they don't have a perf_event cgroup present. This permits restarting the slave to add this isolator. Existing containers will not be isolated. New containers will be isolated.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 4a3f2e12643a1f02284587ebcbe9374f416b3d60 
>   src/slave/containerizer/isolators/cgroups/perf_event.hpp PRE-CREATION 
>   src/slave/containerizer/isolators/cgroups/perf_event.cpp PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20963/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> Our current testing code does not easily permit testing different combinations of isolators for the MesosContainerizer.
> 
> 
> Thanks,
> 
> Ian Downes
> 
>


Re: Review Request 20963: Add a cgroup perf_event isolator.

Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20963/
-----------------------------------------------------------

(Updated June 12, 2014, 9:50 p.m.)


Review request for mesos and Vinod Kone.


Changes
-------

i'll shepherd this -- vinod.


Repository: mesos-git


Description
-------

This isolator only creates the perf_event cgroup and places the executor into the cgroup; no performance statistics are gathered/exported.

NOTE: The recover() as implemented is "non-strict"; it will happily recover containers even if they don't have a perf_event cgroup present. This permits restarting the slave to add this isolator. Existing containers will not be isolated. New containers will be isolated.


Diffs
-----

  src/Makefile.am 4a3f2e12643a1f02284587ebcbe9374f416b3d60 
  src/slave/containerizer/isolators/cgroups/perf_event.hpp PRE-CREATION 
  src/slave/containerizer/isolators/cgroups/perf_event.cpp PRE-CREATION 

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


Testing
-------

Manually tested.

Our current testing code does not easily permit testing different combinations of isolators for the MesosContainerizer.


Thanks,

Ian Downes