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

Don't allow the eviction server to reconcile if it's busy

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.1, 4.3.1, 4.2.0-rc3, 4.0.13, 3.6.15
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage Engines 2019-07-19
    • Backport Requested:
      v4.0, v3.6

      Description

      There are times when the eviction server thread will contribute to eviction of clean and dirty pages. That doesn't make sense in busy workloads, where other operations can stall waiting for the eviction server to find work for them to do.

      We should avoid using the eviction server for reconciliation if the cache is approaching full. We need to decide whether it's OK for the server to evict (free) clean pages. We also need to decide on the threshold for when the eviction server should contribute to eviction - in lower throughput workloads having the eviction server contribute to eviction is used as a mechanism to avoid churning the eviction queues.

       

      SUMMARY: 

      This ticket resolves the performance problem of eviction server itself is doing the reconciliation instead of adding them to the eviction queue. With this fix, the eviction server is more concentrated on queuing the pages that need to be evicted, whereas eviction workers do the job of eviction by reading from the queue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                haribabu.kommi Haribabu Kommi
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: