A post in the upstream report has given the hint for the application
cpufreq-aperf for measuring the cpu frequency. Here are the results:

root@ubuntu:~# taskset -c 0 sh -c "./test.py & sleep 1 && cpufreq-aperf --once 
&& echo ---------- && cat /proc/cpuinfo | grep MHz && pkill ^test.py$"
CPU     Average freq(KHz)       Time in C0      Time in Cx      C0 percentage
000     3186000                 01 sec 005 ms   6832127434 sec 705 ms   100
001     0783000                 00 sec 026 ms   00 sec 976 ms   02
002     0783000                 00 sec 032 ms   00 sec 970 ms   03
003     0783000                 00 sec 001 ms   01 sec 001 ms   00
004     0783000                 00 sec 016 ms   00 sec 986 ms   01
005     0783000                 00 sec 039 ms   00 sec 963 ms   03
----------
cpu MHz         : 2700.000
cpu MHz         : 800.000
cpu MHz         : 800.000
cpu MHz         : 800.000
cpu MHz         : 800.000
cpu MHz         : 800.000


Turbo Core is working but /proc/cpuinfo is simply not showing it. So it is just 
an output issue of procfs.

** Summary changed:

- Turbo Core doesn't work on an AMD Phenom II X6 1045T
+ /proc/cpuinfo doesn't support showing the correct Turbo Core frequency

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1071434

Title:
  /proc/cpuinfo doesn't support showing the correct Turbo Core frequency

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I'm using Ubuntu 12.10 (64 bit) and my AMD Phenom II X6 1045T doesn't
  boost from 2.7 GHz to 3.2 GHz if a core is using 100% of cpu time.

  sworddragon@ubuntu:~$ uname -a
  Linux ubuntu 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

  sworddragon@ubuntu:~$ dmesg | grep powernow
  [ 1.204050] powernow-k8: Found 1 AMD Phenom(tm) II X6 1045T Processor (6 cpu 
cores) (version 2.20.00)
  [ 1.204074] powernow-k8: Core Performance Boosting: on.
  [ 1.204110] powernow-k8: 0 : pstate 0 (2700 MHz)
  [ 1.204113] powernow-k8: 1 : pstate 1 (2000 MHz)
  [ 1.204115] powernow-k8: 2 : pstate 2 (1400 MHz)
  [ 1.204117] powernow-k8: 3 : pstate 3 (800 MHz)

  sworddragon@ubuntu:~$ cat 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
  2700000 2000000 1400000 800000

  My BIOS is showing correctly 3.2 GHz as the maximum frequenzy and if I 
disable Cool' n' Quiet my frequenzy will be constantly 2705.104 MHz for all 
cores in /proc/cpuinfo without boosting to 3.2 GHz if a core is using 100% of 
cpu time.
  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
     Subdevices: 0/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  sworddragon   6544 F.... plugin-containe
   /dev/snd/pcmC0D0p:   sworddragon   6544 F...m plugin-containe
   /dev/snd/timer:      sworddragon   6544 f.... plugin-containe
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xf9ff4000 irq 16'
     Mixer name : 'Realtek ALC662 rev1'
     Components : 'HDA:10ec0662,18497662,00100101'
     Controls      : 33
     Simple ctrls  : 18
  CurrentDmesg:
   Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg 
-'] failed with exit code 1: comm: /var/log/dmesg: No such file or directory
   dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 13.04
  EcryptfsInUse: Yes
  IwConfig: Error: [Errno 2] No such file or directory
  Lsusb: Error: [Errno 2] No such file or directory
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  MarkForUpload: True
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=f1ce7323-74dc-46f7-95f7-887cc54403e7 ro
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  raring
  Uname: Linux 3.5.0-17-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout lpadmin plugdev sambashare sudo
  dmi.bios.date: 05/21/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.20
  dmi.board.asset.tag: BC5FF4739C55
  dmi.board.name: 960GM/U3S3 FX
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP1.20:bd05/21/2012:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn960GM/U3S3FX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1071434/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to