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

High CPU usage after resuming from sleep/hibernate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.6.4.1, 1.8.1, 2.0
    • Fix Version/s: 2.1.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
    • Environment:
      Windows 7 Professional x64
      MacOS 10.6
      Any

      Description

      On my test notebook, erl.exe spikes to 100% cpu usage (25%-50 actually, since it's a 2-core+HT CPU) after the system resumes from standby/hibernate.
      No load is generated (clients are idle), the cache contains around 50K items using about 8MiB.

        Attachments

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

          Activity

          Hide
          alkondratenko Aleksey Kondratenko (Inactive) added a comment -

          Current understanding is it's caused by timer's behavior of ticking all ticks that need to occur between previous tick time and now. So if "now" suddenly jumps we'll have tons of ticks happening at about same time.

          Current fix is to fix timer module to skip those "accumulated" ticks if necessary.

          Show
          alkondratenko Aleksey Kondratenko (Inactive) added a comment - Current understanding is it's caused by timer's behavior of ticking all ticks that need to occur between previous tick time and now. So if "now" suddenly jumps we'll have tons of ticks happening at about same time. Current fix is to fix timer module to skip those "accumulated" ticks if necessary.
          Hide
          alkondratenko Aleksey Kondratenko (Inactive) added a comment -

          Fix merged http://review.couchbase.org/#/c/25551/ for 2.0.2 release

          Show
          alkondratenko Aleksey Kondratenko (Inactive) added a comment - Fix merged http://review.couchbase.org/#/c/25551/ for 2.0.2 release
          Hide
          dipti Dipti Borkar (Inactive) added a comment -

          Maria, this is one , that we should verify on all platforms.

          Show
          dipti Dipti Borkar (Inactive) added a comment - Maria, this is one , that we should verify on all platforms.
          Hide
          maria Maria McDuff (Inactive) added a comment -

          deep, pls verify (2.0.2) on all platforms – very important. thanks.

          Show
          maria Maria McDuff (Inactive) added a comment - deep, pls verify (2.0.2) on all platforms – very important. thanks.
          Hide
          maria Maria McDuff (Inactive) added a comment -

          QE:
          -Deep to verify on all platforms, except MAC.
          -Tony to verify on MAC only.

          Show
          maria Maria McDuff (Inactive) added a comment - QE: -Deep to verify on all platforms, except MAC. -Tony to verify on MAC only.

            People

            • Assignee:
              deepkaran.salooja Deepkaran Salooja
              Reporter:
              onyxmaster onyxmaster
            • Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes