← Back to team overview

dx-packages team mailing list archive

[Bug 1005174] Re: HUD Service high CPU usage with Firefox

 

*** This bug is a duplicate of bug 968533 ***
    https://bugs.launchpad.net/bugs/968533

The issue is still active and it is not a duplicate. I confirmed with
Firefox 23 on Ubuntu 12.10. Lately the unity menu integration does not
come as an addon. So, the previous solution (to disable that if ones has
high CPU load) does not work.

I found another solution, which is not optimal, but solves the problem
to a certain usable extent.  The problem was that there were hundreds of
bookmarks in the bookmarks menu and the bookmarks toolbar. Some of them
were dynamic RSS bookmarks, which means that they kept growing by the
time. So HUD had to index all these bookmarks.

The solution was to move all the useless bookmarks from the bookmarks
menu to the "unsorted bookmarks". The latter do not appear in the menu
and therefore do not have to be indexed by HUD. After I did this, still
HUD requires a little bit of loading, but it is much faster and, most
important, does not halt the entire system.


I still believe there is an issue with HUD here: the entire adventure with the hundred features indicates to me that HUD's indexing is sub-optimal: it keeps re-indexing the same things that have already been indexed before, probably there is no (sufficient) caching or so. Another possibility could be a limit on the number of the bookmark items being indexed by HUD.

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

Title:
  HUD Service high CPU usage with Firefox

Status in The Application Menu:
  Confirmed
Status in Unity:
  Confirmed
Status in “firefox” package in Ubuntu:
  Invalid
Status in “indicator-appmenu” package in Ubuntu:
  Confirmed

Bug description:
  When using HUD to access Firefox menus, it will use a high amount of
  CPU (around 70%), even after Firefox is closed. It looks like its
  trying to index Firefox menus (speacially the bookmarks menu, that has
  a lot of entries).

  Steps to reproduce:
  - You need a Firefox install with hundreds of bookmarks.
  - Start Firefox
  - Start the Hud and try to search a item that it's on your bookmarks menu.
  - See the high CPU usage of unity-pane-service and hud-service.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: unity 5.12-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic i686
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,gnomecompat,mousepoll,resize,place,imgpng,grid,vpswitch,regex,move,wall,session,animation,wobbly,expo,workarounds,ezoom,animationaddon,fade,scale,unityshell]
  Date: Sun May 27 11:00:50 2012
  SourcePackage: unity
  UpgradeStatus: Upgraded to precise on 2012-04-28 (28 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-appmenu/+bug/1005174/+subscriptions