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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • WT3.2.1, 4.3.1, 4.2.0-rc3, 4.0.13, 3.6.15
    • None
    • None
    • None
    • 3
    • Storage Engines 2019-07-19
    • 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

        Activity

          People

            haribabu.kommi@mongodb.com Haribabu Kommi
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: