← Back to team overview

dx-packages team mailing list archive

[Bug 1227710] Re: unity-panel-service consumes 100% of my CPU for 8 seconds to while waiting for a global menu to open

 

Polling system call analysis:
 unity-panel-service (2776), poll:
       2295 immediate timed out calls with zero timeout (non-blocking peeks)
         37 repeated timed out polled calls with non-zero timeouts (light polling)
       1322 repeated immediate timed out polled calls with zero timeouts (heavy polling peeks)
 unity-panel-service (2789), poll:
       2328 immediate timed out calls with zero timeout (non-blocking peeks)
         85 repeated immediate timed out polled calls with zero timeouts (heavy polling peeks)

So it appears that some of the polls() are being called with zero
timeout and being called many times, which may explain the CPU pegging
at 100%.  E.g. spinning in a tight loop on poll().

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1227710

Title:
  unity-panel-service consumes 100% of my CPU for 8 seconds to while
  waiting for a global menu to open

Status in “unity” package in Ubuntu:
  New

Bug description:
  When opening a libreoffice calc menu nothing happens for 8 seconds.
  Using "top" one can observe that unity-panel-service is pegging one of
  my CPUs at 100%.   This is 100% repeatable.  Just start libreoffice,
  open the menu.  Opening the menu thereafter is often faster. But from
  a clean start of libreoffice one can always trigger this issue.

  Attached is a video showing the delay in opening a menu.  I'm running
  in a 2.5 Ghz i5 CPU, so 8 seconds equates to 20 billion clock cycles
  to open a menu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1227710/+subscriptions


References