mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yu <yujie....@gmail.com>
Subject Re: Resource Estimator
Date Tue, 21 Jul 2015 21:09:05 GMT
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 <tiagoalves83@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
>

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