Bug 50331
Summary: | no Turbo Core on AMD A10-5800K | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | udo (udovdh) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | NEW --- | ||
Severity: | normal | CC: | alan, laszlo.kertesz, mirh, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.6.6 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
udo
2012-11-09 15:08:58 UTC
# grep k8 dmesg-3.6.6.txt powernow-k8: Found 1 AMD A10-5800K APU with Radeon(tm) HD Graphics (4 cpu cores) (version 2.20.00) powernow-k8: Core Performance Boosting: on. powernow-k8: 0 : pstate 0 (3800 MHz) powernow-k8: 1 : pstate 1 (3400 MHz) powernow-k8: 2 : pstate 2 (2900 MHz) powernow-k8: 3 : pstate 3 (2400 MHz) powernow-k8: 4 : pstate 4 (1900 MHz) powernow-k8: 5 : pstate 5 (1400 MHz) Please do note the lack of the 4200 Mhz. # cpupower frequency-info analyzing CPU 0: driver: powernow-k8 CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 8.0 us. hardware limits: 1.40 GHz - 3.80 GHz available frequency steps: 3.80 GHz, 3.40 GHz, 2.90 GHz, 2.40 GHz, 1.90 GHz, 1.40 GHz available cpufreq governors: userspace, ondemand, performance current policy: frequency should be within 1.40 GHz and 3.80 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.40 GHz (asserted by call to hardware). cpufreq stats: 3.80 GHz:7.78%, 3.40 GHz:0.21%, 2.90 GHz:0.30%, 2.40 GHz:0.34%, 1.90 GHz:0.47%, 1.40 GHz:90.90% (829881) boost state support: Supported: yes Active: yes Boost States: 2 Total States: 8 Pstate-Pb0: 4200MHz (boost state) Pstate-Pb1: 4200MHz (boost state) Pstate-P0: 3800MHz Pstate-P1: 3400MHz Pstate-P2: 2900MHz Pstate-P3: 2400MHz Pstate-P4: 1900MHz Pstate-P5: 1400MHz Please note the 4200 MHz! I have a A8-5500 and it has the "official" non-turbo states listed by powernow-k8, just like yours. # cpufreq-info cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. 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: 4.0 us. hardware limits: 1.40 GHz - 3.20 GHz available frequency steps: 3.20 GHz, 2.90 GHz, 2.60 GHz, 2.20 GHz, 1.80 GHz, 1.40 GHz available cpufreq governors: userspace, powersave, conservative, ondemand, performance current policy: frequency should be within 1.40 GHz and 3.20 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 2.60 GHz (asserted by call to hardware). cpufreq stats: 3.20 GHz:27.97%, 2.90 GHz:1.41%, 2.60 GHz:1.65%, 2.20 GHz:0.96%, 1.80 GHz:0.87%, 1.40 GHz:67.15% (10603) But, if i use cpufreq-aperf to monitor the frequencies, i get something like this (compile with 3 threads): cpufreq-aperf -o CPU Average freq(KHz) Time in C0 Time in Cx C0 percentage 000 3488000 00 sec 847 ms 00 sec 152 ms 84 001 3488000 00 sec 618 ms 00 sec 381 ms 61 002 3488000 00 sec 908 ms 00 sec 091 ms 90 003 3488000 00 sec 912 ms 00 sec 087 ms 91 Which is above th 3.2 frequency and, granted, below the advertised 3.7 Turbo. Also, what you see in cpuinfo and the like isnt always true - i used the old radeon driver and despite having 3.2 GHz in cpuinfo as active p-state, cpufreq-aperf gave ~1.4 GHz as zctive frequency. And most likely had it right because i spent an eternity compiling the kernel in that state. While using turbostat and making the PC do some work I see updates like: cor CPU GHz TSC 4.18 3.89 0 0 4.15 3.89 1 1 4.17 3.89 2 2 4.21 3.89 3 3 4.21 3.89 (yes, slight overclock) |