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

3% regression in pillowfight throughput between 5.5.0-1701 and 1714

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      Broken out from MB-28409 - investigation shows a ~3% drop in pillowfight throughput between 1701 and 1714:

      Changes in this range in KV-Engine (http://172.23.123.43:8000/getchangelog?product=couchbase-server&fromb=5.5.0-1701&tob=5.5.0-1714) are mostly test changes - the only patch which could plausibly trigger the slowdown is:

       * Commit: 597c51f86fd8921fdc45b9a4bd39a4dd3c2ce86b
         MB-22010: Introduce Frequency Counter to StoredValue
         
         Adds a frequency counter to StoredValue, which is held in the "value"
         SingleThreadedRCTaggedPtr.  Therefore it does not use any extra memory.
         The counter is a uint16_t.
         
         An associated get and set method are provided together with a regression
         test.
         
         The patch increments the frequency counter when the StoredValue is
         referenced from the the hashtable, (this is at the same point as
         where the existing NRU counter is updated).  This completes the basic
         framework needed to experiment with different hash table eviction
         policies.
         
         Change-Id: I939eb9ebd7bf99da6bc0eb4b5fd659a97b80d662
         Reviewed-on: http://review.couchbase.org/87524
         Reviewed-by: Dave Rigby <daver@couchbase.com>
         Tested-by: Build Bot <build@couchbase.com>
      

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-28940
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty