compiz is running at 60+ wakeups per second
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
New
|
Undecided
|
Unassigned |
Bug Description
According to one of the unity/manual-tests, compiz should run well under 50 wakeups per second while the UI is idle. It is currently running at 60+ wakeups per second. On prior builds, it run much lower (under 20).
Testing with:
compiz - 1:0.9.8.
nux - 3.6.0-0ubuntu1~
unity - 6.6.0-0ubuntu1~
[Test Case]
From unity/manual-
Launcher autoscroll wake-ups
-------
This test makes sure that the timer controlling autoscroll animations does
not keep running (at 50Hz) when it's not required to animate anything. This
is LP: #917210.
Setup:
#. Ensure the screen is idle, with very little changing.
#. Open a terminal and start a tool that can measure process wakeups per
second. You can choose one of:
- gnome-power-
- powertop
- eventstat
Actions:
#. Hover the mouse pointer over the top end of the Launcher. That's just above
the Ubuntu icon.
#. Hover the mouse pointer over the bottom end of the Launcher. That's over
the bottom of the trash icon.
#. Move the mouse pointer back to the centre of the screen and leave it there.
#. Wait 30-60 seconds, leaving the screen idle before verifying the Outcome.
Expected Result:
The number of wakeups per second (events per second) reported for the
compiz process should be much lower than 50.
[Observed Result]
Compiz wakeups per second stayed above 60 the entire time.
I didn't have this problem with Unity trunk; my wakeups stayed below 20.