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

Investigate why Snappy upgrade from 1.1.1 to 1.1.6 regressed performance

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.1.0
    • Cheshire-Cat
    • couchbase-bucket
    • None
    • 1
    • KV-Engine Sprint 2021 August, KV-Engine-Sept-21

    Description

      We attempted to upgrade Snappy from 1.1.1 to 1.1.6 via MB-25339, as part of Vulcan. However this "upgraded" version resulted in various performance regressions (MB-26922, MB-26923, MB-26924), even though Snappy's own published numbers and our own micro-benchmarking runs the newer version was faster (up to 20% faster decompress, 5% faster compress; see https://github.com/google/snappy/releases/tag/1.1.4).

      KV-Engine continues to spend a significant amount of time in snappy (de)compression; moreso for high DGM workloads (all data on-disk is Snappy-compressed), so it would be advantageous if we could take advantage of the performance improvements which should be available in newer versions. However we first need to understand why the last upgrade regressed.

      Attachments

        Issue Links

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

          Activity

            People

              drigby Dave Rigby (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change

                  PagerDuty