Launchpad has imported 5 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=51681.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-12-13T08:43:09+00:00 sworddragon2 wrote:

My AMD Phenom II X6 1045T has a normal maximum frequenzy of 2.7 GHz but
can boost up to 3 cores to 3.2 GHz if needed. My BIOS is showing
correctly 3.2 GHz as the maximum frequenzy. Here are some informations
about my system:

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

I have written a script which uses 100% of cpu time for 1 core.
Theoretically this should force the processor to go up to 3.2 GHz on
this core. In the attachments is a log which shows the output from
/proc/cpuinfo and top which shows that my processor is still using just
2.7 GHz.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1071434/comments/29

------------------------------------------------------------------------
On 2012-12-13T08:43:52+00:00 sworddragon2 wrote:

Created attachment 89081
Log of /proc/cpuinfo and top

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1071434/comments/30

------------------------------------------------------------------------
On 2013-01-04T18:53:16+00:00 muziofg wrote:

I have two different AMD CPUs with turbo core feature enabled: a Phenom
II X6 1055T and a dualcore C-70

both have the same behaviour: if I read the frequency value from 
/sys/devices/system/cpu/*/cpufreq/* or /proc/cpuinfo I see the cores to never 
reach the "turbo" frequency. 
But the software cpufreq-aperf (found in the cpufrequtils package on a Debian 
system) can show me these peaks, expecially if I force 5 cores to powersave and 
1 on performance governor

for use cpuafreq-aper must be load the msr kernel module, I think the
Turbo frequency is an internal feature of a CPU, difficult to control
and monitor

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1071434/comments/33

------------------------------------------------------------------------
On 2013-11-20T15:04:42+00:00 sworddragon2 wrote:

Thanks for the hint of cpufreq-aperf. 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 doesn't support showing the correct 
frequency.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1071434/comments/54

------------------------------------------------------------------------
On 2020-05-15T12:27:01+00:00 david wrote:

It's working on 4.19.0-9-amd64 Debian 10 kernel directly from
/proc/cpuinfo:

# cat /proc/cpuinfo |grep -i model
model           : 10
model name      : AMD Phenom(tm) II X6 1090T Processor

# cat /proc/cpuinfo |grep MHz
cpu MHz         : 3528.820
cpu MHz         : 831.966
cpu MHz         : 893.121
cpu MHz         : 800.173
cpu MHz         : 1354.755
cpu MHz         : 979.302
# cat /proc/cpuinfo |grep MHz
cpu MHz         : 3505.403
cpu MHz         : 834.381
cpu MHz         : 1281.693
cpu MHz         : 1555.635
cpu MHz         : 1476.154
cpu MHz         : 955.208

3600 MHz turbo core.

I think this bug can be closed as resolved.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1071434/comments/55


** Changed in: linux
       Status: Unknown => Confirmed

** Changed in: linux
   Importance: Unknown => Medium

-- 
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 Linux:
  Confirmed
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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to