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

Use yield less aggressively in group commit

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.5.1
    • Affects Version/s: None
    • Component/s: None
    • None

      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

      Unable to find source-code formatter for language: __wt_log_slot_close. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      
      

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

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

              Created:
              Updated:
              Resolved: