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

Add backoff logic to the btree delete and walk yield loops

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.11, WT3.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage 2017-07-31

      Description

      The loops assume that pages will change state quickly, so busy waiting is reasonable. We've seen cases in other parts of the code where that isn't the case - we should add backoff to the yield loops, to avoid saturating CPU with busy waiting if page state transitions take longer than expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vamsi.krishna Vamsi Boyapati
                Reporter:
                vamsi.krishna Vamsi Boyapati
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: