Comment 7 for bug 803943

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 803943] Re: compiz consuming a lot of cpu

On Jul 20, 2011 7:32 PM, "Daniel van Vugt" <email address hidden> wrote:
>
> See also bug 813409 where unity-panel-service uses around the same level
> of constant CPU as compiz. Though switching to a VT console, compiz
> stops using the CPU while unity-panel-service doesn't.

Indeed. Compiz isn't drawing the screen to show the result of polling for
load so its essentially sleeping during this time
>
> --
> You received this bug notification because you are a member of Unity
> Bugs, which is subscribed to unity in Ubuntu.
> https://bugs.launchpad.net/bugs/803943
>
> Title:
> compiz consuming a lot of cpu
>
> Status in Unity:
> Confirmed
> Status in “unity” package in Ubuntu:
> Confirmed
>
> Bug description:
> This problem is exclusive to unity (when running compiz with gnome-
> panel, this doesn't happen).
>
> 1. Close all windows opened, if any
> 2. Open a terminal and run 'top'
> 3. Notice that compiz is consuming a lot of CPU time (although there is
nothing special running). In my case, it's consuming about 13% when idle.
> 4. Unmaximize the terminal window, if maximized, and start moving the
window slowly
> 5. Notice that compiz is now consuming much more CPU than before (in my
case, arround 50%).
> 6. Open a video.
> 7. Notice that compiz consume much more CPU than idle (about 25% in my
case), although I'm not doing anything related to window management.
> 8. (optional) Install the gnome-panel package and choose "GNOME classic"
in login screen. Start compiz with "compiz --replace" and follow the steps
from 1 to 7. Notice that the CPU consuming is much lower (in my case, 1%
when idle, 25% when moving the window and 9% with the video).
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: unity 4.0.1-0ubuntu2 [modified: usr/bin/unity-preferences
usr/share/applications/unity-preferences.desktop]
> ProcVersionSignature: Ubuntu 3.0-2.3-generic 3.0.0-rc4
> Uname: Linux 3.0-2-generic i686
> Architecture: i386
> CompizPlugins:
[core,bailer,detection,composite,opengl,compiztoolbox,decor,vpswitch,imgpng,resize,snap,grid,regex,move,gnomecompat,mousepoll,animation,unitydialog,wall,workarounds,place,expo,ezoom,session,staticswitcher,fade,scale]
> Date: Thu Jun 30 11:54:20 2011
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110610)
> ProcEnviron:
> LANGUAGE=pt_BR:en
> LANG=pt_BR.UTF-8
> SHELL=/bin/bash
> SourcePackage: unity
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/803943/+subscriptions