Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-63231

Improve Magma Eviction

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Cypher
    • Cypher
    • storage-engine

    Description

      When testing with Data Blocking Cache, we found there is a ~8x performance degradation. After some investigation, it is found that magma has undo one of the optimization that skip caching the leaf node of the bottom tier sstables/b-trees. After putting back that optimization, we see the performance is on-par than before without data cache blocking.

      With data block caching, we see there is a 30% degradation at 10% RR. At 50% RR, we see performance gain at less than 10%.

      Based on this observation, it is imperative to keep the intermediate index blocks in cache before data blocks or the leaf nodes of the bottom index tier. This means the eviction algorithm cannot keep all blocks as equal.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anirudh.rowjee Anirudh Rowjee
            jliang John Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty