Skip to contentSkip to conversation

AMD Bobcat cpufreq

DISCUSSION Joonas Saarinen 2 participants 2 messages Oct 18, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Borislav Petkov [[email protected]] wrote:

Once you've done that successfully, you need to run as root:

$ cd tools/power/cpupower/
$ LD_LIBRARY_PATH=. ./cpupower frequency-info

This is what I get:

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 hardware limits: 800 MHz - 1000 MHz
available frequency steps: 1000 MHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance current policy: frequency should be within 800 MHz and 1000 MHz.
The governor "ondemand" may decide which speed to use within this range.
current CPU frequency is 1000 MHz (asserted by call to hardware). cpufreq stats: 1000 MHz:-nan%, 800 MHz:-nan% (646)
boost state support:
Supported: yes
Active: yes

It's promising that the boost state support is "supported and active" but the output is still kind of sparse. There's no mention about specific turbo states, nor do I get /proc/cpuinfo or that cpupower tool
ever to show an evidence that the CPU is going to 1333MHz. On Windows
CPU-Z showed it constantly visiting that state.

That's all for now.

Joonas

#1 lore raw
Quoted 3 lines · Joonas Saarinen

It's promising that the boost state support is "supported and active" but the output is still kind of sparse. There's no mention about specific turbo states,

could be bug in the tool...

Quoted 3 lines

nor do I get /proc/cpuinfo or that cpupower tool ever to show an evidence that the CPU is going to 1333MHz. On Windows CPU-Z showed it constantly visiting that state.

You can also try turbostat in tools/power/x86/turbostat/

# ./turbostat -i 1

to give you core freq. readout every second and then pin a workload on one core in another shell, say kernel build:

$ taskset 1 make

You should be able to see core 0 boosting like in my case:

cor CPU GHz TSC

        3.90 4.01
  0   0 4.17 4.01
  1   1 4.17 4.01
  2   2 2.23 4.01
  3   3 2.74 4.01
  4   4 1.83 4.01
  5   5 3.23 4.01
  6   6 1.69 4.01
  7   7 1.43 4.01

cores 0 and 1 go over 4GHz which is their boosted state.

HTH.

Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--