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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.1, 4.3.1, 4.2.0-rc6, 4.0.13, 3.6.15
    • Component/s: None
    • Labels:
    • Backport Requested:
      v4.2, v4.0, v3.6

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

              • Assignee:
                haribabu.kommi Haribabu Kommi
                Reporter:
                haribabu.kommi Haribabu Kommi
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: