https://bugzilla.novell.com/show_bug.cgi?id=410533 Summary: ondemand govenor does not set maximum frequency when on battery Product: openSUSE 11.0 Version: Final Platform: i386 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Mobile Devices AssignedTo: zoz@novell.com ReportedBy: pablo@blueoakdb.com QAContact: qa@suse.de Found By: --- Hi, On openSUSE 11.0/RC3, I reported an issue with my laptop (see bug 399068) similar to this one. At that time, the end result was that the maximum CPU frequency _eventually_ was set (after 17 seconds). I mention it now because there seems to be a regression between RC3 and Final but I'll leave it up to you folks to decide. Today I was on battery and noticed a CPU bound process wasn't kicking the maximum CPU frequency (2.4GHz); it stayed at 800Mhz. This was after being on battery for many minutes (well beyond the 17 second threshold from bug 399068). What's interesting is for an initial short burst (less than a second), the CPU frequency spikes to the maximum and afterwards, it stays at the minimum. Further, upon stopping the CPU bound process it takes about 13 seconds before the maximum is reset from 800MHz to 2.4GHz; note there is nothing else running after the CPU bound process is terminated. I collected some instrumentation below to show exactly what I'm talking about. Please let me know if you need additional data. ps: I'm heading out on vacation for a week so if I don't respond, it's because I'll be away and not because I'm ignoring the problem. :) Experiment ========== In one shell, I run the following to monitor my CPU frequency bounds: while [ 1 ] ; do date; cpufreq-info | grep 'current policy:'; sleep 1; done and in another shell, my CPU bound process: while [ 1 ] ; do echo x; done Here's the result of the monitoring - see in-line comments for additional data: Fri Jul 18 14:36:56 EDT 2008 current policy: frequency should be within 800 MHz and 2.40 GHz. current policy: frequency should be within 800 MHz and 2.40 GHz. Fri Jul 18 14:36:57 EDT 2008 current policy: frequency should be within 800 MHz and 2.40 GHz. current policy: frequency should be within 800 MHz and 2.40 GHz. # # Start CPU bound process # Fri Jul 18 14:36:58 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:36:59 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:00 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:01 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. # # Stop CPU bound process - notice delay until # the maximum frequency is reset - this may be related # to bug 399068. # Fri Jul 18 14:37:02 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:03 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:04 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:05 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:06 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:07 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:08 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:09 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:10 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:11 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:12 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. Fri Jul 18 14:37:13 EDT 2008 current policy: frequency should be within 800 MHz and 800 MHz. current policy: frequency should be within 800 MHz and 800 MHz. # # Maximum CPU reset to correct value. # Fri Jul 18 14:37:14 EDT 2008 current policy: frequency should be within 800 MHz and 2.40 GHz. current policy: frequency should be within 800 MHz and 2.40 GHz. Fri Jul 18 14:37:15 EDT 2008 current policy: frequency should be within 800 MHz and 2.40 GHz. current policy: frequency should be within 800 MHz and 2.40 GHz. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.