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

Refactor / rework compaction gain estimation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Segment Tar 0.0.10
    • segment-tar

    Description

      I think we have to take another look at CompactionGainEstimate and see whether we can up with a more efficient way to estimate the compaction gain. The current implementation is expensive wrt. IO, CPU and cache coherence. If we want to keep an estimation step we need IMO come up with a cheap way (at least 2 orders of magnitude cheaper than compaction). Otherwise I would actually propose to remove the current estimation approach entirely

      Attachments

        1. OAK-4293-v2.patch
          27 kB
          Alex Deparvu
        2. size-estimation.patch
          29 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: