Performance degrades over time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
After reboot, the ondemand setting gives good CPU frequency switching speeds. But after the computer has been running for a while, it slows down.
I can see this most obviously playing call of duty 4 under wine - I can get framerates around 25-35fps after rebooting, but after the computer has been running for some time if I run the game again the framerate drops to 10-15fps and the frequency applets no longer indicate maximum frequency is being attained. Either rebooting or setting the frequency governor to 'performance' restores the performance.
I find this happens in both Jaunty and Intrepid with kernels 2.6.27 through 2.6.30-rc7.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=
MachineType: Dell Inc. XPS M1530
Package: linux-image-
ProcCmdLine: root=UUID=
ProcEnviron:
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux
summary: |
- cpu ondemand governor degrades switching response over time + compiz performance degrades over time |
summary: |
- compiz performance degrades over time + Performance degrades over time |
Changed in compiz (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
I noticed an odd but possibly related behaviour:
1. I had set up_threshold to 40 instead of 95, and everything was running fine even after hours of running the kernel.
2. I changed it back to 95, and the frame rate slowed.
3. I tried changing ignore_nice_levels to 1, but it had no effect on frame rate.
4. I tried changing up_threshold back to 40 and then changing the CPUs to performance instead of on-demand, but neither had an effect on frame rate.
5. I ran glxgears. This normally gets 3500 fps, but could only manage 1.5 fps this time. However, in the wine CoD4 app, the frame rate increased back to normal while glxgears was running. Stopping glxgears made it drop again.