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

Index hash map outside of the lock

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 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

            mathias@mongodb.com Mathias Stearn
            martin.bligh Martin Bligh
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: