Investigate eviction queue resize based on efficiency

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Transactions
    • None
    • 5

      Currently, the eviction queue size is controlled by constants like WTI_EVICT_WALK_BASE (300) and WTI_EVICT_WALK_INCR (100) which tracks maximum number of pages we ad per walk and maximum pages that we track from previous walks and truncates the candidate queue based on them. These fixed values may not be optimal for all workloads.

      We can investigate changing these constants based on eviction metrics and possibly increase eviction queue size when eviction is efficient or decrease queue size when many eviction attempts are failing. It could work in conjunction with the existing dynamic eviction worker threads mechanism in TUNE-356.

      Related to WT-15538

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Alana Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: