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

Remove mutexes that serialize secondary and majority read operations

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v4.4
    • Execution Team 2021-11-29, Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07
    • 135

      MongoDB serializes the creation of new WiredTiger transactions for local secondary reads (i.e. lastApplied reads) and readConcern: majority reads.

      WT-6709 recently addressed performance problems in the WiredTiger timestamp queues that should make these mutexes unnecessary. Investigate removing both of these mutexes to potentially support higher read throughput.

      SeeĀ SERVER-51041 for more details.

        1. diff.svg
          929 kB
          Daniel Gomez Ferro
        2. Execution time histogram.png
          40 kB
          Daniel Gomez Ferro
        3. funclatency.py
          8 kB
          Daniel Gomez Ferro
        4. image.png
          334 kB
          Keith Smith
        5. image-2021-11-25-16-53-52-297.png
          303 kB
          Daniel Gomez Ferro
        6. image-2021-11-25-16-55-58-447.png
          328 kB
          Daniel Gomez Ferro
        7. image-2021-11-25-16-57-45-164.png
          331 kB
          Daniel Gomez Ferro
        8. image-2021-11-30-22-49-26-854.png
          456 kB
          Daniel Gomez Ferro
        9. image-2021-12-13-14-58-28-825.png
          334 kB
          Daniel Gomez Ferro
        10. image-2021-12-13-14-59-44-403.png
          322 kB
          Daniel Gomez Ferro
        11. image-2021-12-13-15-06-18-748.png
          306 kB
          Daniel Gomez Ferro
        12. image-2021-12-13-15-06-32-867.png
          317 kB
          Daniel Gomez Ferro
        13. image-2021-12-13-15-55-26-425.png
          134 kB
          Daniel Gomez Ferro
        14. image-2021-12-13-18-34-39-915.png
          1.02 MB
          Daniel Gomez Ferro
        15. master-backoff.png
          508 kB
          Daniel Gomez Ferro
        16. master-backoff-noflowcontrol.png
          475 kB
          Daniel Gomez Ferro
        17. master-no-flow-control.png
          207 kB
          Daniel Gomez Ferro
        18. master-semaphore.png
          202 kB
          Daniel Gomez Ferro
        19. mutex-collapsed.svg
          895 kB
          Daniel Gomez Ferro
        20. nomutex-collapsed.svg
          891 kB
          Daniel Gomez Ferro
        21. screenshot-1.png
          91 kB
          Daniel Gomez Ferro
        22. screenshot-2.png
          92 kB
          Daniel Gomez Ferro

            Assignee:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: