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

Focus eviction walks in largest trees

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.8, 3.3.11
    • Labels:
      None

      Description

      In SERVER-24580, there is evidence that eviction walks are still inefficient when there are many idle files in cache. The basic issue is that the list of handles has no information about the relative size in cache of trees, so eviction is just as likely to walk a tiny tree as a large tree.

      WiredTiger has long had backoff for completely empty trees, so they are skipped on future eviction passes. We should consider a more nuanced approach so that very large trees get much more attention than very small trees.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.cahill Michael Cahill
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: