Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3052

Allocator performance issue when using a large number of filters.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.24.2, 0.25.0
    • allocation
    • None

    Description

      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.

      Attachments

        1. MESOS-3052.tiff
          105 kB
          James Peach

        Activity

          People

            jamespeach James Peach
            jamespeach James Peach
            Benjamin Mahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: