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

(Updated July 19, 2012, 3:39 a.m.)


Review request for mesos and Benjamin Hindman.


Changes
-------

Major refactor. Add support for cgroups. Updated to fit the new trunk.


Description (updated)
-------

Add a module in slave to collet resource usage information.

The isolation module should implement the interface class 
ResourceStatisticsCollector so that ResourceUsageProcess can pull information 
from it.

Each instance of ResourceStatistics is a snapshot about the resource usage of 
an entity (either an executor, or an process).

ResourceMeter is an abstract class that defines the measurement of resource 
usage. Each subclass of ResourceUsageMeter defines a specific measurement of 
resource usage (e.g. maxRSS, avgCpuUsage, etc.)


Diffs (updated)
-----

  src/Makefile.am 10f1101 
  src/slave/cgroups_isolation_module.hpp PRE-CREATION 
  src/slave/cgroups_isolation_module.cpp PRE-CREATION 
  src/slave/statistics.hpp PRE-CREATION 
  src/slave/statistics.cpp PRE-CREATION 
  src/tests/statistics_tests.cpp PRE-CREATION 

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


Testing
-------

Make check.

Tested on Linux. Mac implementation pending.


Thanks,

Jie Yu

Reply via email to