Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13086

Improve current page replacement mechanism.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.9
    • persistence
    • None

    Description

      Experimentally proven that current page replacement functionality has problems with replace candidate computation. Current implementation obtain 5 random pages and make further decisions basing this pages last touch timestamp and some inner flags, however still possible cases when this pages set can be simply nullified due to inner logic. All improvements need to be proven, for example, by simple scenario:
      1. put some data until event EVT_PAGE_REPLACEMENT_STARTED is triggered
      2. put 2 times more data than been loaded in p1.
      3. execute fullscan (through ScanQuery) for old\cold data processing emulation.
      4. start processing only pages which can fit into current mem region.
      5. measure "replacedPages" metric.
      (i attach code mention above)

      Attachments

        1. screenshot-2.png
          31 kB
          Evgeny Stanilovsky
        2. screenshot-1.png
          17 kB
          Evgeny Stanilovsky
        3. 8.7-replacement400_rand_512val_5touch_oldts.log
          0.1 kB
          Evgeny Stanilovsky
        4. 8.7-fix-replacement400_rand_512val_5touch_oldts.log
          0.1 kB
          Evgeny Stanilovsky
        5. replacement_64_old.jfr.zip
          8.67 MB
          Evgeny Stanilovsky
        6. replacement_64_new.jfr.zip
          6.73 MB
          Evgeny Stanilovsky
        7. IgnitePdsPageReplacementTestToYard.java
          10 kB
          Evgeny Stanilovsky

        Issue Links

          Activity

            People

              zstan Evgeny Stanilovsky
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m