You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2017/04/13 21:42:42 UTC

[jira] [Updated] (MESOS-7390) Evaluate and optimize sorter performance

     [ https://issues.apache.org/jira/browse/MESOS-7390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neil Conway updated MESOS-7390:
-------------------------------
    Description: 
After the introduction of hierarchical roles, the sorter will re-sort the entire role tree whenever the sort order might have changed. There are a number of ways in which this might be optimized. For example:

# When the allocation of a single client is changed, we can update that client's position in the sort order incrementally (via binary search + vector erase/insert), rather than re-sorting the entire tree.
# When the share of a part of the tree changes (e.g., weight), we can avoid re-sorting or re-calculating the share of tree nodes in an unrelated part of the tree.

Before making either of these changes, we should do some experimental work to better understand the current bottlenecks in sorter/allocator performance for real-world workloads.

  was:
After the introduction of hierarchical roles, the sorter will re-sort the entire role tree whenever the sort order might have changed. There are a number of ways in which this might be optimized. For example:

1. When the allocation of a single client is changed, we can update that client's position in the sort order incrementally (via binary search + vector erase/insert), rather than re-sorting the entire tree.
2. When the share of a part of the tree changes (e.g., weight), we can avoid re-sorting or re-calculating the share of tree nodes in an unrelated part of the tree.

Before making either of these changes, we should do some experimental work to better understand the current bottlenecks in sorter/allocator performance for real-world workloads.


> Evaluate and optimize sorter performance
> ----------------------------------------
>
>                 Key: MESOS-7390
>                 URL: https://issues.apache.org/jira/browse/MESOS-7390
>             Project: Mesos
>          Issue Type: Improvement
>          Components: allocation
>            Reporter: Neil Conway
>              Labels: mesosphere
>
> After the introduction of hierarchical roles, the sorter will re-sort the entire role tree whenever the sort order might have changed. There are a number of ways in which this might be optimized. For example:
> # When the allocation of a single client is changed, we can update that client's position in the sort order incrementally (via binary search + vector erase/insert), rather than re-sorting the entire tree.
> # When the share of a part of the tree changes (e.g., weight), we can avoid re-sorting or re-calculating the share of tree nodes in an unrelated part of the tree.
> Before making either of these changes, we should do some experimental work to better understand the current bottlenecks in sorter/allocator performance for real-world workloads.



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