> On Aug 15, 2015, at 8:26 AM, Qian AZ Zhang <[email protected]> wrote:
> 
> That
> means frameworks can use more than the auto detected resources which I
> think should be slave's total resources. This seems a bit strange to me, I
> think allocator needs to mark part of the auto detected resources as
> revocable based on what resource estimator returns.

That’s the whole idea of oversubscription Qian, to carefully understand the 
difference between allocated and actually used and allow frameworks to slack 
resources (allocated but not used) for revocable best effort work. 

Revocable resources are clearly marked in the offer. It is up to your framework 
to use them or ignore. You can also opt out as Niklas mentioned. 
Note that if a task uses some regular resources and some revocable resources at 
the same time, it is essentially a best effort task. So proceed carefully with 
your scheduler. 

Reply via email to