Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1591

Use yield less aggressively in group commit

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: WT2.5.1
    • Component/s: None
    • Labels:
      None

      Description

      Some system schedulers don't de-prioritize yield calls when the number of threads overwhelms the number of CPU cores. The WiredTiger log consolidation code makes extensive use of yield to avoid waiting longer than necessary for a group flush to finish.

      It would be better if we backed off using a mechanism other than spinning in a yield loop in

       

      . It has been reported that up to 10x improvement in throughput can be achieved in some MongoDB workloads on some hardware.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alexander.gorrod Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: