You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2017/02/03 23:58:51 UTC

[jira] [Commented] (MESOS-6904) Perform batching of allocations to reduce allocator queue backlogging.

    [ https://issues.apache.org/jira/browse/MESOS-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852363#comment-15852363 ] 

Yan Xu commented on MESOS-6904:
-------------------------------

Follow up fix:

{noformat:title=}
commit f686f04f57b967dfe1cc2d3a5f09250812013d46
Author: Jacob Janco <jj...@gmail.com>
Date:   Fri Feb 3 15:51:07 2017 -0800

    Fix to potential dangling pointer in `batch()`.
    
    - If `HierarchicalAllocatorProcess` is gone after
      `allocate` but before `AnyCallback` then
      `this->allocationInterval` may reference
      garbage.
    
    Review: https://reviews.apache.org/r/56296/
{noformat}

> Perform batching of allocations to reduce allocator queue backlogging.
> ----------------------------------------------------------------------
>
>                 Key: MESOS-6904
>                 URL: https://issues.apache.org/jira/browse/MESOS-6904
>             Project: Mesos
>          Issue Type: Bug
>          Components: allocation
>            Reporter: Jacob Janco
>            Assignee: Jacob Janco
>            Priority: Critical
>              Labels: allocator
>             Fix For: 1.2.0
>
>
> Per MESOS-3157:
> {quote}
> Our deployment environments have a lot of churn, with many short-live frameworks that often revive offers. Running the allocator takes a long time (from seconds up to minutes).
> In this situation, event-triggered allocation causes the event queue in the allocator process to get very long, and the allocator effectively becomes unresponsive (eg. a revive offers message takes too long to come to the head of the queue).
> {quote}
> To remedy the above scenario, it is proposed to perform batching of the enqueued allocation operations so that a single allocation operation can satisfy N enqueued allocations. This should reduce the potential for backlogging in the allocator. See the discussion [here|https://issues.apache.org/jira/browse/MESOS-3157?focusedCommentId=14728377&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14728377] in MESOS-3157.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)