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

Estimate and print overhead of clocks used by KV-Engine

    XMLWordPrintable

Details

    • 1
    • KV-Engine-Sept-21

    Description

      As seen in a recent customer issue, the way the system clock is configured and the overhead in reading it can have a measurable impact on the performance of KV-Enigne.

      It would be of use to print an estimate of the overhead of reading the two clock sources KV-Engine uses:

      • Fine clock (std::chrono::steady_clock) which is typically capable of nanosecond prevision.
      • Coarse clock (folly::chrono::coarse_steady_clock) - which is only capable of millisecond precision but can be much cheaper to read.

      Attachments

        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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty