incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu" <>
Subject Re: Review Request: Add a module in slave to collect resource usage information.
Date Fri, 03 Aug 2012 17:42:59 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 3, 2012, 5:42 p.m.)

Review request for mesos and Benjamin Hindman.


Cleanup the code. Fixed format issues. Integrate changes that are not in the previous patch.


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,

Diffs (updated)

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



Make check.

Tested on Linux. Mac implementation pending.


Jie Yu

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