[Bug 846329] New: kernel cpufreq stuck at 'powersave' - cpus running at 800MHz!
https://bugzilla.novell.com/show_bug.cgi?id=846329 https://bugzilla.novell.com/show_bug.cgi?id=846329#c0 Summary: kernel cpufreq stuck at 'powersave' - cpus running at 800MHz! Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 After rebooting into openSUSE 13.1 (RC1), I noticed everything was slow slow slow. Finally figured out the CPUs were locked at 800MHz. linux-k1fq:/sys/devices/system/cpu/cpu0/cpufreq # cat *gov* performance powersave powersave linux-k1fq:/sys/devices/system/cpu/cpu0/cpufreq # echo performance > scaling_governor linux-k1fq:/sys/devices/system/cpu/cpu0/cpufreq # cat /proc/cpuinfo | grep MHz cpu MHz : 2100.000 cpu MHz : 2079.000 linux-k1fq:/sys/devices/system/cpu/cpu0/cpufreq # What's weird is that I only changed *one* cpu (although this is a B950 @ 2.1 GHz), both started working fine. [ 0.021189] smpboot: CPU0: Intel(R) Pentium(R) CPU B950 @ 2.10GHz (fam: 06, model: 2a, stepping: 07) I had been compiling the kernel for 10 minutes before I finally kicked the cpus into performance, so it wasn't that the computer was idle. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=846329 https://bugzilla.novell.com/show_bug.cgi?id=846329#c Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |trenn@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=846329 https://bugzilla.novell.com/show_bug.cgi?id=846329#c1 Thomas Renninger <trenn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jnelson-suse@jamponi.net --- Comment #1 from Thomas Renninger <trenn@suse.com> 2013-10-24 16:32:49 UTC ---
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors ondemand performance cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
Strange, the ondemand governor is not avail? Can you double check, like I did above, please. Can you check via: zcat /proc/config.gz |less that these are set: CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y cpupower frequency-info might also be interesting (cpupower package). Anything in /var/log/messages when cpufreq is initialized that might give a hint to what went wrong? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=846329 https://bugzilla.novell.com/show_bug.cgi?id=846329#c2 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jnelson-suse@jamponi.net | --- Comment #2 from Jon Nelson <jnelson-suse@jamponi.net> 2013-11-04 17:17:11 UTC --- NOTE: After boot, I manually changed the governor to performance, it was set to powersave. linux-k1fq:~ # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors performance powersave linux-k1fq:~ # zgrep CONFIG_CPU_FREQ /proc/config.gz CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_GOV_COMMON=y CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m linux-k1fq:~ # linux-k1fq:~ # cpupower frequency-info analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 0.97 ms. hardware limits: 800 MHz - 2.10 GHz available cpufreq governors: performance, powersave current policy: frequency should be within 800 MHz and 2.10 GHz. The governor "performance" may decide which speed to use within this range. current CPU frequency is 1.91 GHz (asserted by call to hardware). boost state support: Supported: no Active: no 2100 MHz max turbo 4 active cores 2100 MHz max turbo 3 active cores 2100 MHz max turbo 2 active cores 2100 MHz max turbo 1 active cores linux-k1fq:~ # linux-k1fq:~ # dmesg | grep cpuf [ 1.911358] ACPI: Requesting acpi_cpufreq linux-k1fq:~ # -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=846329 https://bugzilla.novell.com/show_bug.cgi?id=846329#c3 Thomas Renninger <trenn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Thomas Renninger <trenn@suse.com> 2013-11-06 14:20:20 UTC --- Ah ok. intel_pstate driver does not use ondemand or other governors. It decides itself to which frequency to switch. cat /proc/cpuinfo does not show the right frequency, please use (cpupower package): cpupower monitor or cpupower monitor -m Mperf This will show you the frequency of the cores over a preriod of time (1 sec by default). This info is correct and read directly from HW. I already close the bug, if you still think there is something broken, please reopen. -- 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.
participants (1)
-
bugzilla_noreply@novell.com