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

Focus eviction walks in largest trees

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.2.8, 3.3.11
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: