Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20668

Index hash map outside of the lock

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Diagnostics, Performance
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      QuInt A (10/12/15)

      Description

      Things like Top use a global lock to index into a hash map and increment two counters - most of the work inside that lock is doing the hash calculation, and removing it gives us 10% more perf on insert (writecmd path, 32 threads)

      So we believe that doing the hash calc outside the lock would be a significant performance boost for every operation for larger servers.

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            martin.bligh Martin Bligh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: