← Back to team overview

dx-packages team mailing list archive

[Bug 968533] Re: Alt-tab to Firefox sends Firefox to 100% CPU; unity-panel-service to 80% CPU and hud-service to 20-80% CPU

 

Same problem here, though it seems it have worsen recently on 13.10
(with Firefox 25?). With 5000 bookmarks, hud-service uses one CPU at
100% all the time, with a complete freeze every-time I switch a tab or
firefox's window gets the focus.

By using the BookmarkMenuHider add-on to remove the bookmarks from the menu, the CPU usage goes back to 20% the time. This can be a nice workaround for computers with relatively beefy processors. You can find the add-on there:
https://addons.mozilla.org/en-US/firefox/addon/bookmarkmenuhider

Finally, the "ui.use_unity_menubar =  false" fix drops the CPU usage of
hud-service below 1%, and Firefox experience is back to butter smooth
:-) Of course the drawback is that the menu is gone from the HUD :-(

-- 
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/968533

Title:
  Alt-tab to Firefox sends Firefox to 100% CPU; unity-panel-service to
  80% CPU and hud-service to 20-80% CPU

Status in Unity:
  Confirmed
Status in “unity” package in Ubuntu:
  Confirmed

Bug description:
  I've been seeing UI hangs after switching tabs in Firefox, and
  switching from other applications to Firefox.

  It can take 3-8 seconds to change *tab*.  During this time the CPU is
  maxed out;  typical output from 'top' during this period shows 'hud-
  service' and 'unity-panel-service' combined using about the same CPU
  as Firefox itself:

   100 10.4  26:07.73 firefox            
    53  0.6   6:14.86 hud-service        
    38  1.5   6:42.14 unity-panel-service

  I suspect that the change is causing a (an inefficient) re-index
  related to updated menu structures.  (Eg. something like the history
  menu, although I can't see what it is as don't currently have a menu
  bar).

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