[Bug 122993] Re: ondemand governor does not use maximum frequency under load
asubedi, thank you for reporting this and helping make Ubuntu better. Gutsy Gibbon reached EOL on April 18th, 2009. Please see this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We were wondering if this is still an issue on a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If it remains an issue, could you run the following command in a supported release from a Terminal (Applications-Accessories-Terminal). It will automatically gather and attach updated debug information to this report. apport-collect -p linux replace-with-bug-number Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results. Thanks in advance. ** Tags added: gutsy needs-upstream-testing ** No longer affects: gconf (Ubuntu) ** No longer affects: gnome-applets (Ubuntu) ** No longer affects: linux-source-2.6.22 (Ubuntu) ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/122993 Title: ondemand governor does not use maximum frequency under load To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/122993/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
Confirming on lucid LTS 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52 UTC 2010 i686 GNU/Linux I only found out about this problem (default setting ondemand) after enabling CPU freqency monitoring while exploring my system. Behavior should be such that if a SINGLE thread uses 90 % CPU, frequency should be ramped up. It seems now that the average load on all my 4 cores need to exceed a threshold. As I have many applications that only use one thread, I used to get 800 MHz rather than 2.9 GHz performance. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/122993 Title: ondemand governor does not use maximum frequency under load -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
I can confirm essentially the same behavior on my laptop (Intel Atom N270 @ 1.66GHz) running Jaunty 9.04 $ uname -a Linux slacy-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux $ sudo cpufreq-info cpufrequtils 004: cpufreq-info (C) Dominik Brodowski 2004-2006 Report errors and bugs to cpuf...@lists.linux.org.uk, please. analyzing CPU 0: driver: acpi-cpufreq CPUs which need to switch frequency at the same time: 0 hardware limits: 800 MHz - 1.60 GHz available frequency steps: 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance current policy: frequency should be within 800 MHz and 1.60 GHz. The governor ondemand may decide which speed to use within this range. current CPU frequency is 800 MHz (asserted by call to hardware). cpufreq stats: 1.60 GHz:0.00%, 1.33 GHz:0.00%, 1.07 GHz:0.00%, 800 MHz:0.00% (38) analyzing CPU 1: driver: acpi-cpufreq CPUs which need to switch frequency at the same time: 1 hardware limits: 800 MHz - 1.60 GHz available frequency steps: 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance current policy: frequency should be within 800 MHz and 1.60 GHz. The governor ondemand may decide which speed to use within this range. current CPU frequency is 800 MHz (asserted by call to hardware). cpufreq stats: 1.60 GHz:0.00%, 1.33 GHz:0.00%, 1.07 GHz:0.00%, 800 MHz:0.00% (23) $ lsmod | grep -i cpu [ no output -- I presume that ACPI cpufreq have been compiled in to 2.6.28 ] To be more specific: When the machine boots up, it's using the ondemand governor. Essentially nothing I can do will make it scale up beyond 800Mhz. I wrote a simple while(1) i++; program to load down both virtual cores, and it still didn't increase the frequency. Setting the governor to performance goes to 1.6GHz, as confirmed by cpufreq-info, and /proc/cpuinfo If there's anything more I can do to help, let me know. It's unfortunate to have to run a laptop in performance mode all the time. -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
I can confirm this on a laptop AMD Turion X2 RM-70, Intrepid AMD64. At first I was mesmerized to find Avidemux running 4 times faster in Vista than in Ubuntu on the same machine. Then I realized it was not using all its cpu power, so I changed the cpufreq governor to 'Performance' and it worked as expected. However, I consider this to be a workaround and not a desired behavior: I don't want to fry my laptop by letting it run all night long at 100% just because I forgot to change cpufreq back to normal. $ uname -a Linux cpu3 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
I did have the same problem as unggnu. For example just using firefox would never change the cpu frequency from the lowest 1GHz (on a AMD 6000+ with a maximum frequency of 3GHz ). I was playing around with the settings and my on_demand scaling seams to be working as it should after I did the following: sudo modprobe cpufreq_ondemand Now it scales up to 3GHz briefly when loading youtube in firefox for example. It is worth a try if you have the same issue, imho. -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
We need an option in gnome-power-manager to enable the performance governor in Ubuntu 8.10. The ondemand governor does not work properly for everyone. On my Thinkpad T42, flash video playback at fullscreen is choppy. The cpu will go to max, but not fast enough to prevent choppy playback. The T42 runs at 600 MHz most times, so the overall performance is sluggish at best. I want to run at full speed when plugged into the ac. Can someone explain to me why having this option is such a big problem. Is there some secret plan to save energy or something? Please let me know if anyone has found a solution to this problem. I don't want to go back to Gentoo. Please help!! -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
This is still an issue in Intrepid. I have a quad core q6600 and it seems that the ondemand governor uses the highest frequency very rarely. If I set one core under 100% load e.g. with cpuburn ondemand doesn't scale up. Most of the times it even doesn't scale up if two cores are under 100% load or it jumps up and down. The only case when always the highest frequency was used is if four tasks of burnP6 running. If I compress a video with mencoder and four threads to H264 (at least 60% load all the time) frequency still jumps up an down while most of the time the lowest one is used. The worst case is if I use mprime (ftp://mersenne.org/gimps/mprime257-linux64.tar.gz) system monitor shows that all cores are under 100% load but ondemand still uses 1.6 Ghz instead of 2.4. If one core is under or nearly 100% load ondemand should scale up. Everything else would slow the system. uname -a Linux pc 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
that's not a gnome-applets issue ** Changed in: gnome-applets (Ubuntu) Importance: Undecided = Low Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: New = Invalid -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test: 1) If you are comfortable installing packages on your own, the linux- image-2.6.27-* package is currently available for you to install and test. --or-- 2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD. Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback. ** Tags added: cft-2.6.27 -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
not a gconf issue. ** Changed in: gconf (Ubuntu) Status: New = Invalid -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
I've done more testing and found that what I've been experiencing may or may not be replicating this bug. I was loading the processor using Prime95 (available at http://www.mersenne.org/freesoft.htm) to test each core under load. The reasons the ondemand cpu frequency governor was not ramping up the multiplier while running this software's torture test (which should completely load the cores) had to do with the default gconf cpu frequency power settings. I needed to change the settings to inform gnome to consider niced processors in the processor load calcuation. Under the default settings, the niced processes were not considered as part of the load, and the cpu multiplier stayed at idle. I was able to use gconf-edit to find this buried setting. Once niced processes were included in the load calculation, the multiplier increased appropriately. I missed these settings before because I did not find them under either System Preferences Power Management or in the preferences for the cpu governing applet. I was able to find them by running gconf-edit, then browsing to apps gnome-power-manager cpufreq I find there the following important power management settings: consider nice Whether or not niced processes should be considered on processor load calculation performance_ac The cpufreq performance value used to scale the processor when on AC power. performance_battery The cpufreq performance value used to scale the processor when on battery power. policy_ac The cpufreq policy used to scale the processor when on AC power. Possible values are ondemand, conservative, powersave, userspace, performance, nothing. policy_battery The cpufreq policy used to scale the processor when on battery power. Possible values are ondemand, conservative, powersave, userspace, performance, nothing. Two questions to consider. Should the consider_nice variable be checked by default to help niced CPU intensive processes use all available processing? Contributors to distributed computing projects, such as the Mersenne Prime project, video transcoding software, etc, I think would benefit from a more sensible default. Even if the default options aren't changed, shouldn't these options appear in the preferences for Power Management, the cpu frequency scaling applet, or some other more easily accessible location? If I have missed where these settings are otherwise located, please let me know. But if I haven't, I think these settings should be easier to find, especially for laptop users. Finally, I do not know if the original user who submitted this bug was mislead as I was, so the original problem may well be different. I'm regressing the bag from confirmed back to new as a result. -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
Regressed to New because I am unsure if I successfully confirmed the original submitter's bug. ** Changed in: linux-source-2.6.22 (Ubuntu) Status: Confirmed = New -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 122993] Re: ondemand governor does not use maximum frequency under load
** Also affects: gnome-applets (Ubuntu) Importance: Undecided Status: New ** Also affects: gconf (Ubuntu) Importance: Undecided Status: New -- ondemand governor does not use maximum frequency under load https://bugs.launchpad.net/bugs/122993 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs