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

improve scan stat gathering

    XMLWordPrintable

Details

    • Triaged
    • No

    Description

      The stat gathering for scan uses atomics. But at very high concurrency, that doesn't seem to be scaling.

      After adding new stats for aggregates, the scan latency got worse in showfast:
      http://showfast.sc.couchbase.com/#/timeline/Linux/secondary/lat/MOI
      http://showfast.sc.couchbase.com/#/timeline/Linux/secondary/lat/Plasma

      The difference in results for build 5.5.0-2036 vs 5.5.0-2126.

      It would be better to split the stats into a pool of stats which the scans can update concurrently by taking out an object out of the pool and the final stats can be aggregated at collection time.

      Attachments

        Issue Links

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

          Activity

            People

              deepkaran.salooja Deepkaran Salooja
              deepkaran.salooja Deepkaran Salooja
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty