Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4227

Use a shared_mutex when locking in shared_ptr atomic operations

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.20.0
    • None
    • None
    • None

    Description

      At very high thread counts, locking on the shared_ptr atomic mutex begins to dominate. Using a shared_mutex significantly reduces the time spent in locking code and increases the performance under high contention.

      Attachments

        Activity

          People

            colby.pike@mongodb.com Colby Pike
            colby.pike@mongodb.com Colby Pike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: