Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6912

Cold standby performance regression due to segment caching

    XMLWordPrintableJSON

Details

    Description

      The changes to the segment cache introduced in r1793527 [0] introduced a performance regression on the primary for the case in which a standby is attached to it. Below a benchmark duration comparison between primary w/o and w/ standby for r1793527 (after the segment cache changes) and r1793526 (before the changes) :

      Oak 1.6 r1793527 (20170502)
      # BasicWriteTest                   C     min     10%     50%     90%     max       N
      Oak-Segment-Tar                    1      19      21      22      26     160    2491
      Oak-Segment-Tar-DS                 1      56      59      63      70     181     919
      Oak-Segment-Tar-Cold(Shared DS)    1      58      66     159     177     372     302
      
      Oak 1.6 r1793526 (20170502)
      # BasicWriteTest                   C     min     10%     50%     90%     max       N
      Oak-Segment-Tar                    1      19      21      22      25      52    2584
      Oak-Segment-Tar-DS                 1      56      60      63      69     158     925
      Oak-Segment-Tar-Cold(Shared DS)    1      57      60      64      70     122     915
      

      [0] https://github.com/apache/jackrabbit-oak/commit/efafa4e1710621b7f3b8e92d0b2681669185fcd4

      Attachments

        Issue Links

          Activity

            People

              adulceanu Andrei Dulceanu
              adulceanu Andrei Dulceanu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: