linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AMD Bobcat cpufreq
@ 2013-08-20 19:58 Joonas Saarinen
  2013-08-22 11:17 ` Borislav Petkov
  0 siblings, 1 reply; 8+ messages in thread
From: Joonas Saarinen @ 2013-08-20 19:58 UTC (permalink / raw)
  To: linux-kernel

Hi guys,

The turbo core feature on AMD Bobcat platform seems not to be working. I 
have a netbook with C-60 CPU which never cranks the frequency over 
1000MHz (it could reach 1333MHz).

Can this be expected to work some day?

Thanks for any information,
Joonas

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: AMD Bobcat cpufreq
@ 2013-10-17 20:54 Joonas Saarinen
  2013-10-17 22:20 ` Borislav Petkov
  0 siblings, 1 reply; 8+ messages in thread
From: Joonas Saarinen @ 2013-10-17 20:54 UTC (permalink / raw)
  To: linux-kernel

On Thu, 22 Aug 2013 13:17:53 +0200 Borislav Petkov wrote:
> On Tue, Aug 20, 2013 at 10:58:07PM +0300, Joonas Saarinen wrote:
> > Hi guys,
> > 
> > The turbo core feature on AMD Bobcat platform seems not to be
> > working. I have a netbook with C-60 CPU which never cranks the
> > frequency over 1000MHz (it could reach 1333MHz).
>
> Yeah, how about more info like which kernel, /proc/cpuinfo, full
> dmesg, dmidecode... sounds like enough for starters.
>
> Thanks.

All right. I'm finally back to re-investigate the issue. The
requested data can be found at:

http://users.metropolia.fi/~joonasms/bobcat/

The CPU underclocks as expected but the turbo multiplier is never
activated.

Joonas


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: AMD Bobcat cpufreq
@ 2013-10-18 13:19 Joonas Saarinen
  2013-10-18 13:36 ` Borislav Petkov
  0 siblings, 1 reply; 8+ messages in thread
From: Joonas Saarinen @ 2013-10-18 13:19 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-kernel

Borislav Petkov [bp@alien8.de] 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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: AMD Bobcat cpufreq
@ 2013-10-18 15:23 Joonas Saarinen
  2013-10-18 15:36 ` Borislav Petkov
  0 siblings, 1 reply; 8+ messages in thread
From: Joonas Saarinen @ 2013-10-18 15:23 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-kernel

Borislav Petkov [bp@alien8.de] wrote:
> You can also try turbostat in tools/power/x86/turbostat/
> 
> # ./turbostat -i 1

We might be on to something. With work pinned on one core:

cor CPU   GHz  TSC
        1.16 1.00
  0   0 1.17 1.00
  1   1 0.80 1.00

When both cores are occupied:

cor CPU   GHz  TSC
        1.00 1.00
  0   0 1.00 1.00
  1   1 1.00 1.00

In this case both cores are limited to 1GHz, but it might be intentional
to avoid overheating.

So there is some turbo functionality indeed. The frequency shown by 
turbostat is still a bit off the target, not sure if there is any actual
problem though.

Joonas


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-18 15:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 19:58 AMD Bobcat cpufreq Joonas Saarinen
2013-08-22 11:17 ` Borislav Petkov
  -- strict thread matches above, loose matches on Subject: below --
2013-10-17 20:54 Joonas Saarinen
2013-10-17 22:20 ` Borislav Petkov
2013-10-18 13:19 Joonas Saarinen
2013-10-18 13:36 ` Borislav Petkov
2013-10-18 15:23 Joonas Saarinen
2013-10-18 15:36 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).