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

Revert part of a change about when pages are queued for urgent eviction

    • v4.2, v4.0, v3.6

      We noticed a performance regression when a change was made to stop the eviction server evicting pages itself.

      With WT-4898, the page eviction is postponed to the eviction threads based on the following additional checks.

      • Threads that are not configured for slow operations
      • if WT_READ_NO_EVICT is set

      With the above additional checks addition in __wt_page_release function, it leads some regression in sys-perf tests. 

       

      SUMMARY: While stopping the eviction server to evict the pages itself, it missed to add those pages tot the eviction queues, that leads to a performance regression. This fix ensures that all the pages are added to urgent queue by the eviction server.

        1. without-4898-additional-stats.png
          without-4898-additional-stats.png
          53 kB
        2. with-4898-eviction-threads-bottleneck-spinlock-2.png
          with-4898-eviction-threads-bottleneck-spinlock-2.png
          51 kB
        3. with-4898-eviction-threads-bottleneck-spinlock.png
          with-4898-eviction-threads-bottleneck-spinlock.png
          35 kB
        4. with-4898-eviction-flow-2.png
          with-4898-eviction-flow-2.png
          18 kB
        5. with-4898-eviction-flow-1.png
          with-4898-eviction-flow-1.png
          23 kB
        6. with-4898-additional-stats.png
          with-4898-additional-stats.png
          20 kB

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: