mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Hindman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-7798) Improve libprocess message passing performance
Date Tue, 01 Aug 2017 21:12:00 GMT

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

Benjamin Hindman commented on MESOS-7798:
-----------------------------------------

Phase 2 and phase 3 commits:

{code}
commit b036199cf130552a189827512939e1221d6ea05c
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Sun Jul 23 15:17:03 2017 -0700

    Added a copy-on-write optimization for UPID 'id' field.
    
    Review: https://reviews.apache.org/r/61068

commit 2b398a728bc5168def1c08c1942adbfdfc9c6e70
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Sun Jul 23 15:14:29 2017 -0700

    More optimizations for creating a MessageEvent.
    
    Review: https://reviews.apache.org/r/61067

commit c51cc96098a5fa6c1e4ce4f14bc8e4bf1065ab64
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Sun Jul 23 16:14:29 2017 -0700

    Introduced and used an optimized LIFO fixed-size semaphore.
    
    Review: https://reviews.apache.org/r/61069

commit 7952332ee32c4a964766f8b51d69495da82efd82
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Sun Jul 23 18:22:27 2017 -0700

    Added 'process::workers'.
    
    Review: https://reviews.apache.org/r/61066

commit c70a564731aec2f409729df89c1bc4b668a74760
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Fri Jul 21 17:56:17 2017 -0700

    Cached a reference to a ProcessBase in every UPID.
    
    Review: https://reviews.apache.org/r/61060

commit 3924617d7cd0a41f248ca959147d61b99bd99a36
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Fri Jul 21 15:06:54 2017 -0700

    Added --enable-lock-free-event-queue configuration in Mesos.
    
    Review: https://reviews.apache.org/r/61059

commit 1a8b36e2cf0fe339be40f17ddadf81c5fc9844c7
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Fri Jul 21 15:12:03 2017 -0700

    Added a lock-free event queue.
    
    Review: https://reviews.apache.org/r/61058

commit 535e77ed2b0702988af0ccf41eaee8bd5e9f6e69
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Fri Jul 21 00:05:19 2017 -0700

    Removed ProcessBase::inject to support future event queues.
    
    However, to support immediate termination a TerminateEvent can still
    be injected and it is handled appropriately.
    
    Review: https://reviews.apache.org/r/61057

commit e122312ddb0e85be27ce4a83b3215fb10433e18f
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Thu Jul 20 23:40:15 2017 -0700

    Removed unused mutex.
    
    This mutex has been made obsolute by previous changes.
    
    Review: https://reviews.apache.org/r/61056

commit 4330c08610833c7f02356872a85b65e631b94248
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Thu Jul 20 23:36:45 2017 -0700

    Factored out the event queue and made `state` be atomic.
    
    This patch also introduces a function to construct a JSON
    representation of a ProcessBase which is used to implement the
    /__processes__ endpoint. We've then changed the implementation of that
    endpoint to send messages to each process in order to have it inspect
    it's event queue independently. In the future we may want to introduce
    a high-priority queue to process events like these.
    
    Review: https://reviews.apache.org/r/61055

commit b28548f14d356d274ce9f6ba802a5beae7723ba6
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Thu Jul 20 23:36:29 2017 -0700

    Added a functional "map" abstraction.
    
    Review: https://reviews.apache.org/r/61054

commit 90cc4f16f5a693bf3af377cd98ebd3cb01c7ac20
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Thu Jul 20 20:28:09 2017 -0700

    Removed unnecessary states RUNNING and TERMINATED.
    
    Review: https://reviews.apache.org/r/61053

commit b1f4c93f742efe6c0a7fd6d77a4b5ef6411d919e
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Date:   Thu Jul 20 17:28:24 2017 -0700

    Refactored Gate and updated Gate per Process implementation.
    
    In the original implementation we needed a Gate to potentially outlive
    a Process so we stored it in a global map. This patch instead uses
    std::shared_ptr to simplfy the code.
    
    Review: https://reviews.apache.org/r/61052
{code}

> Improve libprocess message passing performance
> ----------------------------------------------
>
>                 Key: MESOS-7798
>                 URL: https://issues.apache.org/jira/browse/MESOS-7798
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Benjamin Hindman
>            Assignee: Benjamin Hindman
>         Attachments: perf-2x-lifo-message-cow.svg, perf-2x-lifo-message.svg, perf-2x-lifo.svg,
perf-2x-no-lifo.svg, perf-lifo-message-cow.svg, perf-lifo-message.svg, perf-lifo.svg, perf-no-lifo.svg
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message