Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-439

Investigate incorrect CPU usage stats

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.7.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 26
    • 5

    Description

      During perf testing on a 48 core machine, one perf stat measuring the CPU usage via top was showing ~4000% (i.e. all cores running at ~85%)

      However, the process_cpu_percent_utilization stat, was only ever showing about 800%

      After looking at the code that calculates this stat a little (calculateProcessCpuPercentage), it's non-trivial, so we need to verify it's doing the right thing, and determine the reason for the huge difference above.

      Attachments

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

        Activity

          People

            jacques.rascagneres Jacques Rascagneres
            ben.brooks Ben Brooks
            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