Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2052

Optimize CPU consumption (and laptop batteries)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 4.4.2
    • Component/s: Framework

      Description

      Some workers are using a sleep value very small: 0.01, making the CPU constantly "high" when doing nothing. For instance, on my computer, it always uses 8.5-10% of CPU when the application does nothing at all.

      I can reduce the CPU usage to only 0.0-0.5% when idle by changing the sleep value to 1.
      This is much better and will preserve laptop battries too.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m