You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2015/07/15 07:21:04 UTC
[jira] [Assigned] (MESOS-3052) optimize slave ID comparison in
filter lists
[ https://issues.apache.org/jira/browse/MESOS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach reassigned MESOS-3052:
----------------------------------
Assignee: James Peach
> optimize slave ID comparison in filter lists
> --------------------------------------------
>
> Key: MESOS-3052
> URL: https://issues.apache.org/jira/browse/MESOS-3052
> Project: Mesos
> Issue Type: Bug
> Components: allocation
> Reporter: James Peach
> Assignee: James Peach
>
> With a large number of frameworks that all refuse offers permanently, the filter lists can get long. Comparing the slave IDs on the long filter lists ends up taking noticeable time.
> Since each filter list traversal matches on on a single slave ID, we can optimize this by hashing the slave ID and checking the hash before comparing the full slave ID. This is a 5% - 10% performance win.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)