Dell M4600 has problems with CPU Freq Scaling on Ubuntu 11.04 64bit.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I filed this bug on behalf of kluessi. I'm working with the M4600 and Ubuntu 11.04-64bit with Bios Rev A04. I have some problems with the cpu frequency scaling. I got the Intel i7-2720QM, which is supposed to run at 2.2Ghz without Intel Turbo Boost.
The problem is the cpu speed is limited by the bios to 1.8 Ghz.
I'm using a Dell Advanced E-Port Docking station. Yesterday when I undocked the Laptop as it was in use, I could monitor the scaling_max_freq going up from 800Mhz to 1.8Ghz in 100Mhz steps.
As I docked the laptop back in the scaling_max_freq changed to 2.2Ghz and I could monitor with turbostat and i7z that the frequency could be reached and by putting some load on the cpu Intel Turbo Boost kicks in and cpu reaches speeds up to 3.3Ghz.
After I rebooted the system everything went back to the bios limit of 1.8Ghz. I tried again to undock and dock the notebook but nothing changed.
I also tried this without the dock but still the same problem.
WORKAROUND: Adding kernel parameter:
processor.
cat /sys/devices/
*****************
1800000
****************
cat /sys/devices/
****************
1800000
****************
cat /proc/cpuinfo
*******
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping : 7
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 4390.92
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
*******
cat /sys/devices/
*******
2201000 2200000 2000000 1900000 1800000 1700000 1600000 1500000 1400000 1300000 1200000 1100000 1000000 900000 800000
*******
cat /sys/devices/
*******
acpi-cpufreq
*******
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xde460000 irq 53'
Mixer name : 'IDT 92HD90BXX'
Components : 'HDA:111d76e7,
Controls : 15
Simple ctrls : 10
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xdd080000 irq 17'
Mixer name : 'Nvidia GPU 14 HDMI/DP'
Components : 'HDA:10de0014,
Controls : 16
Simple ctrls : 4
DistroRelease: Ubuntu 11.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: Dell Inc. Precision M4600
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
LANGUAGE=en
PATH=(custom, no user)
LANG=de_DE.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.52
Tags: natty
Uname: Linux 2.6.38-10-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/17/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 08V9YG
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Precision M4600
dmi.product.
dmi.sys.vendor: Dell Inc.
affects: | ubuntu-certification → linux |
description: | updated |
description: | updated |
description: | updated |
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Incomplete |
no longer affects: | linux |
Some more information
I'm using the Linux 2.6.38-10-generic kernel.
cpufreq-info ******* ******* ******* ***
The governor "ondemand" may decide which speed to use
within this range. ******* ******* ******* ******* ***
*******
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 2.20 GHz
available frequency steps: 2.20 GHz, 2.20 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 1.80 GHz.
current CPU frequency is 800 MHz.
cpufreq stats: 2.20 GHz:0,00%, 2.20 GHz:0,00%, 2.00 GHz:0,00%, 1.90 GHz:0,00%, 1.80 GHz:5,27%, 1.70 GHz:0,08%, 1.60 GHz:0,10%, 1.50 GHz:0,07%, 1.40 GHz:0,05%, 1.30 GHz:0,04%, 1.20 GHz:0,48%, 1.10 GHz:1,23%, 1000 MHz:2,11%, 900 MHz:1,58%, 800 MHz:88,98% (2956)
*******
Now I am running a video encode using handbrake, which will create 100% load on all cores.
Output using i7z: ******* ******* ******* ******* ******* ******* ******* ******* ******* **
*******
True Frequency (without accounting Turbo) 2194 MHz
CPU Multiplier 22x || Bus clock frequency (BCLK) 99.73 MHz
Socket [0] - [physical cores=4, logical cores=8, max online cores ever=4]
TURBO ENABLED on 4 Cores, Hyper Threading ON
True Frequency 2293.73 MHz (99.73 x [23])
Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is 33x/32x/30x/30x
Current Frequency 1795.92 MHz (Max of below)
Core [core-id] :Actual Freq (Mult.) C0% Halt(C1)% C3 % C6 %
Core 1 [0]: 1795.92 (18.01x) 87 27.8 1 0
Core 2 [1]: 1795.91 (18.01x) 84.6 29.8 1 0
Core 3 [2]: 1795.91 (18.01x) 83 31.1 1 0
Core 4 [3]: 1795.91 (18.01x) 83.5 30.7 1 0
******* ******* ******* ******* ******* ******* ******* ******* ******* ******* **
cpufreq-info: ******* ******* ******* ******* ******* ******* ******* ******* *****
The governor "ondemand" may decide which speed to use
within this range.
*******
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 2.20 GHz
available frequency steps: 2.20 GHz, 2.20 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 1.80 GHz.
current CPU frequency is 1.80 GHz.
cpufreq stats: 2.20 GHz:0,00%, 2.20 GHz:0,00%, 2.00 GHz:0,00%, 1.90 GHz:0,00%, 1.80 GHz:8,71%, 1.70 GHz:0,25%, 1.60 GHz:0,24%, 1.50 GHz:0,19%, 1.40 GHz:0,16%, 1.30 GHz:0,14%, 1.20 GHz:0,53%, 1.10...