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

Algorithm used to wait to split into parent can be unfair

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      There are cases when threads can wait for a long time for a chance to split into their parent. This is possible in a workload that:

      • Has a lot of cache pressure (i.e: relatively small cache and a large number of threads).
      • Generates in-memory internal pages with lots of entries.

      I have seen cases where a thread has waited for over 3 seconds in __split_parent before getting in to do an update.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: