Bug 743412

Summary: cpupower frequency is always at minimum (range is from "minimum" to "minimum")
Product: [Fedora] Fedora Reporter: Dr. Tilmann Bubeck <tilmann>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-08 06:37:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dr. Tilmann Bubeck 2011-10-04 19:58:16 UTC
Description of problem:
After booting the CPU is very slow. cpupower shows that the frequency is always 800 MHz even if 1.87 GHz are allowed:

[root@t43 bubeck]# cpupower frequency-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 20.0 us.
  hardware limits: 800 MHz - 1.87 GHz
  available frequency steps: 1.87 GHz, 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  boost state support:
    Supported: no
    Active: no
[root@t43 bubeck]# 

/proc/cpuinfo also always shows 800 MHz regardless of heavy load.

Version-Release number of selected component (if applicable):
kernel-tools-3.1.0-0.rc8.git0.0.fc16.i686
kernel-3.1.0-0.rc8.git0.0.fc16.i686.PAE
IBM Thinkpad T43 with a Intel(R) Pentium(R) M processor 1.86GHz.

How reproducible:
always

Steps to Reproduce:
1. Boot Fedora 16
2. check cpu frequency
3.
  
Actual results:
800 MHz

Expected results:
1.87 GHz

Additional info:

Comment 1 Dr. Tilmann Bubeck 2011-10-04 19:59:05 UTC
This bug should go to package kernel-tools, which is not available in bugzilla.

Comment 2 Petr Ĺ abata 2011-10-05 07:39:01 UTC
I'd say your BIOS limits the maximum clock speed to 800MHz when running on battery (that's quite common).  See the 'current policy' line in the cpupower output you posted.

Could you check if this also happens when running with AC supply connected?
If it doesn't see, your BIOS settings.  The OS can't do more in that case.

Oh, and kernel-tools is a kernel subpackage.  The component should be 'kernel'.  Re-assigning.

Comment 3 Dr. Tilmann Bubeck 2011-10-05 07:49:32 UTC
The problem happens also with AC connected (in fact it already was connected when I posted the bug report and generated the output from cpupower).

However, it does not happen if I start FC14. My machine is dual boot, so I could always decide for FC14 or FC16. It only happens in FC16. So I do not assume a BIOS setting. In fact I do not see any BIOS setting for this.

Comment 4 Josh Boyer 2011-11-07 20:47:39 UTC
Is the cpupower service running?  If so, it should have set the governor to performance, not ondemand.

Can you provide the output of acpidump and dmesg?

Comment 5 Dr. Tilmann Bubeck 2011-11-08 06:37:11 UTC
The laptop had a problem with cooling. After I replaced it (with the exact same model and bios version and settings), then problem went away.

Sorry for bothering you.