← Back to team overview

kernel-packages team mailing list archive

[Bug 1389077] Re: Intel Powerclamp is Slowing CPU

 

There are no warnings whatsoever in my syslog file about thermal
temperature.

I do see this message that seems to correspond with the slowdown:

    intel_powerclamp: Start idle injection to reduce power

I have tried the 3.18.0-031800rc3-generic kernel. After running for a
few minutes, I did not see a problem. However, my PC soon froze. I
rebooted and it froze again. There may not have been enough time for the
idle injection to kick in, so I can't say if that kernel fixed the
problem or not.

I then installed the 3.16.0-031600-generic kernel. I did not experience
a noticeable slowdown, and I didn't observe any kidle_inject threads
using top. However, looking at my dmesg, I see the following messages:

[  353.440226] intel_powerclamp: Start idle injection to reduce power
[  357.442949] intel_powerclamp: Stop forced idle injection
[  389.455697] intel_powerclamp: Start idle injection to reduce power
[  393.455967] intel_powerclamp: Stop forced idle injection
[  397.478979] intel_powerclamp: Start idle injection to reduce power
[  401.479785] intel_powerclamp: Stop forced idle injection
[  548.344665] chrome[3265]: segfault at 1f8 ip 00007f7e8ac2863f sp 00007fffd9265480 error 4 in i965_dri.so[7f7e8a8d5000+51c000]
[  548.954533] chrome[3372]: segfault at 1f8 ip 00007fede229f63f sp 00007ffff1dc0e90 error 4 in i965_dri.so[7fede1f4c000+51c000]
[  549.152357] chrome[3382]: segfault at 1f8 ip 00007fd000a4163f sp 00007fff3537ea60 error 4 in i965_dri.so[7fd0006ee000+51c000]
[  768.798349] intel_powerclamp: Start idle injection to reduce power
[  772.800659] intel_powerclamp: Stop forced idle injection
[  776.827334] intel_powerclamp: Start idle injection to reduce power
[  780.826651] intel_powerclamp: Stop forced idle injection
[  796.853437] intel_powerclamp: Start idle injection to reduce power
[  800.852951] intel_powerclamp: Stop forced idle injection
[  804.972279] intel_powerclamp: Start idle injection to reduce power
[  808.972072] intel_powerclamp: Stop forced idle injection
[  812.992079] intel_powerclamp: Start idle injection to reduce power
[  816.993884] intel_powerclamp: Stop forced idle injection
[  821.115992] intel_powerclamp: Start idle injection to reduce power
[  841.124582] intel_powerclamp: Stop forced idle injection


Because I don't believe the idle injection should be enabled at all, I tagged this with the kernel-bug-exists-upstream tag.

One additional datapoint: I tested with the vmlinuz-3.13.0-39-generic
kernel, and I saw the same problem.


** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
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/1389077

Title:
  Intel Powerclamp is Slowing CPU

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I upgraded from KUbuntu 14.04 to 14.10. Immediately, while playing
  minecraft with my daughter, I noticed the game was running very
  slowly. Even after closing the game, my web browsing slowed to a
  crawl.

  Looking at the processes in top, I noticed there were 4 tasks called
  kidle_inject running at 50% CPU each. After spending a long time
  figuring out what caused this, I found out this is caused by the Intel
  Powerclamp driver. I never did anything to enable this, and haven't
  observed this slowdown before the upgrade.

  I found the powerclamp driver in the
  /sys/class/thermal/cooling_device5 directory:

  root@bkat-HP-ProBook-4530s:/sys/class/thermal/cooling_device5# cat type 
  intel_powerclamp
  root@bkat-HP-ProBook-4530s:/sys/class/thermal/cooling_device5# cat cur_state 
  -1
  root@bkat-HP-ProBook-4530s:/sys/class/thermal/cooling_device5# cat max_state 
  50

  I tried to echo 0 to cur_state, but it still reported -1 when I catted
  the value.

  There seems to be no obvious way to disable this, and this should not
  have been enabled in the first place.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-24-generic 3.16.0-24.32
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  Uname: Linux 3.16.0-24-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  bkat       2780 F.... pulseaudio
  CurrentDesktop: KDE
  Date: Mon Nov  3 23:16:04 2014
  HibernationDevice: RESUME=UUID=35e1d874-a3bd-4227-acab-16f3e929d993
  InstallationDate: Installed on 2012-04-22 (925 days ago)
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MachineType: Hewlett-Packard HP ProBook 4530s
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-24-generic root=UUID=743f1686-bfe7-4e32-911d-5371633ccec8 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-24-generic N/A
   linux-backports-modules-3.16.0-24-generic  N/A
   linux-firmware                             1.138
  SourcePackage: linux
  UpgradeStatus: Upgraded to utopic on 2014-11-03 (0 days ago)
  dmi.bios.date: 05/13/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68SRR Ver. F.09
  dmi.board.name: 167C
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 22.1A
  dmi.chassis.asset.tag: CNU1284V1X
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68SRRVer.F.09:bd05/13/2011:svnHewlett-Packard:pnHPProBook4530s:pvrA0001D02:rvnHewlett-Packard:rn167C:rvrKBCVersion22.1A:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP ProBook 4530s
  dmi.product.version: A0001D02
  dmi.sys.vendor: Hewlett-Packard

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


References