Tiago, ResourceEstimator is used for oversubscription and is irrelevant ( https://github.com/apache/mesos/blob/master/docs/oversubscription.md)
The logic of estimating available resources on a slave is here: https://github.com/apache/mesos/blob/master/src/slave/containerizer/containerizer.cpp#L61 - Jie On Tue, Jul 21, 2015 at 1:37 PM, Tiago Alves <tiagoalve...@gmail.com> wrote: > Hi, > > I would like to know how mesos estimates the available resources > (CPU/RAM/DISK) of a slave, and how this resources are viewed by the master > (zookeeper ?) > > I have looked in: > > https://github.com/apache/mesos/blob/master/src/slave/resource_estimator.cpp > > https://github.com/apache/mesos/blob/master/src/slave/resource_estimators/*.cpp > > Can someone give a overview or point the direction of how mesos measures > the resources ? > > Thank you, > Tiago Alves >