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

Index hash map outside of the lock

    • Fully Compatible
    • QuInt A (10/12/15)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: