Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1757

Oak eats too many CPU cycles when idle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • jcr
    • None

    Description

      An idle Oak eats roughly 5% of my CPU cycles.

      This is caused by the Clock implementations introduced at http://svn.apache.org/viewvc?view=revision&revision=1575050. Scheduling the fast clock to update its time every millisecond is quite expensive. Substituting for the simple clock reduces idle CPU usage to below 1%.

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: