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

            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: