You are not logged in.

#576 2013-08-07 13:35:22

PurpleAlert
Member
Registered: 2013-01-08
Posts: 3

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Well, it look like the fix "drm/i915: fix long-standing SNB regression in power consumption after resume" made it into 3.10.5. Let's hope it works!

Offline

#577 2013-08-15 09:48:23

Druedain
Member
From: Poland
Registered: 2011-12-27
Posts: 50

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

In my case now it's much worse. After first suspend CPU runs at max and never comes back to normal state until restart.

Offline

#578 2013-08-15 10:05:58

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Did anyone tried new microcode-20130808 from intel. If it is of some help.


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#579 2013-08-15 18:44:16

Angizia
Member
Registered: 2013-08-15
Posts: 1

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

How do I do this? The wiki doesn't help sad 
Where should I put the microcode.dat file?
THX

Offline

#580 2013-08-15 19:42:36

bobzxr
Member
From: Hungary
Registered: 2013-05-19
Posts: 7

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I did some cpu stress testing today under Arch and Ubuntu with different kernels. These values are after 2 minutes stressing 2 cpu cores. (on a thinkpad X220 w/core i-5)

Same conditions under every test. Whats interesting are the temperatures under the lts kernel.

ubuntu 3.8.0-19-generic
Physical id 0:  +87.0°C

ubuntu 3.5.0-23-generic
Physical id 0:  +90.0°C

arch 3.10.6-2-ARCH
Physical id 0:  +89.0°C

arch 3.0.90-1-lts
Physical id 0:  +56.0°C

As you can see, the results are more or less the same, except for the lts kernel which ran the machine ~30C cooler. Using the lts kernel is really not an option cause it is slower and I have graphical glitches with it.

Maybe I will try the 3.4 lts kernel from kernel.org and see if it helps, but upgrading it all the time would be also a pain.

EDIT: these are NOT after suspend, I never use it. My machine *just* runs on high temperatures.

Last edited by bobzxr (2013-08-15 19:47:38)


You may corrupt the souls of men, but I am steel. I am doom. I march for Macragge, and I know no fear!

Offline

#581 2013-08-15 20:05:06

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

bobzxr wrote:

I did some cpu stress testing today under Arch and Ubuntu with different kernels. These values are after 2 minutes stressing 2 cpu cores. (on a thinkpad X220 w/core i-5)

Same conditions under every test. Whats interesting are the temperatures under the lts kernel.

ubuntu 3.8.0-19-generic
Physical id 0:  +87.0°C

ubuntu 3.5.0-23-generic
Physical id 0:  +90.0°C

arch 3.10.6-2-ARCH
Physical id 0:  +89.0°C

arch 3.0.90-1-lts
Physical id 0:  +56.0°C

As you can see, the results are more or less the same, except for the lts kernel which ran the machine ~30C cooler. Using the lts kernel is really not an option cause it is slower and I have graphical glitches with it.

Maybe I will try the 3.4 lts kernel from kernel.org and see if it helps, but upgrading it all the time would be also a pain.

The regressions are not from stress tests, they are from the kernel not putting the GPU and CPU to sleep properly. The lts kernel probably ran the test a lot slower than the three other kernels, and didn't use all of the cores (for some reason, don't ask me). That's all I can think of to justify that.


EDIT: these are NOT after suspend, I never use it. My machine *just* runs on high temperatures.

What are these 'high temperatures'? Are your fan speeds set correctly?


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#582 2013-08-15 20:41:22

bobzxr
Member
From: Hungary
Registered: 2013-05-19
Posts: 7

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

KaiSforza wrote:

The lts kernel probably ran the test a lot slower than the three other kernels, and didn't use all of the cores (for some reason, don't ask me). That's all I can think of to justify that.

The stress test uses the number of cores I tell him to use. So the did not use all of the cores does not apply here.

From stressing only 1 cpu core I got:
75C from current kernel
53C from lts kernel

So 1 core was on 100%, the others are on ~1-3%

Lts kernel could run the test slower, but I doubt that because the core usage was 100% on the stressed cores.

What are these 'high temperatures'? Are your fan speeds set correctly?

For example I get ~85C, even 90C after like 10 minutes of playing with Hotline Miami (steam), which is not really a demanding game...
Fan spins up to 4500 RPM, which I think is the maximum level.

The regressions are not from stress tests, they are from the kernel not putting the GPU and CPU to sleep properly.

For example if I scan with clamscan, my fan starts to spin soon after start. It uses 1 core up to 100%. And the temperature starts to rise. Stressing only 1, or some cores (but not all) in my opinion is a good way to test power regression, since it is essentially the same. (because the other cores are not working)

Last edited by bobzxr (2013-08-15 20:45:01)


You may corrupt the souls of men, but I am steel. I am doom. I march for Macragge, and I know no fear!

Offline

#583 2013-08-15 20:52:42

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

bobzxr wrote:
KaiSforza wrote:

The lts kernel probably ran the test a lot slower than the three other kernels, and didn't use all of the cores (for some reason, don't ask me). That's all I can think of to justify that.

The stress test uses the number of cores I tell him to use. So the did not use all of the cores does not apply here.

From stressing only 1 cpu core I got:
75C from current kernel
53C from lts kernel

So 1 core was on 100%, the others are on ~1-3%

Lts kernel could run the test slower, but I doubt that because the core usage was 100% on the stressed cores.

What are these 'high temperatures'? Are your fan speeds set correctly?

For example I get ~85C, even 90C after like 10 minutes of playing with Hotline Miami (steam), which is not really a demanding game...
Fan spins up to 4500 RPM, which I think is the maximum level.

The regressions are not from stress tests, they are from the kernel not putting the GPU and CPU to sleep properly.

For example if I scan with clamscan, my fan starts to spin soon after start. It uses 1 core up to 100%. And the temperature starts to rise. Stressing only 1, or some cores (but not all) in my opinion is a good way to test power regression, since it is essentially the same. (because the other cores are not working)

Yes, but you are stressing cores. The main bug here is that no cores are being stressed at all, cpu usage is 0-2%, load a 0.01 or lower, yet clock speeds for the GPU and CPU are at max. Your issue does not seem like what this thread is for.


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#584 2013-08-16 13:05:44

bobzxr
Member
From: Hungary
Registered: 2013-05-19
Posts: 7

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

KaiSforza wrote:

Yes, but you are stressing cores. The main bug here is that no cores are being stressed at all, cpu usage is 0-2%, load a 0.01 or lower, yet clock speeds for the GPU and CPU are at max. Your issue does not seem like what this thread is for.

Sorry for the off then, I realised now I have a problem with turbo boost frequency scaling which I thought to be = power regression.


You may corrupt the souls of men, but I am steel. I am doom. I march for Macragge, and I know no fear!

Offline

#585 2013-09-06 09:02:17

Loser777
Member
Registered: 2011-05-12
Posts: 28

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Have we abandoned all hope yet? (T420, i5 2520M)

I seem to recall some specific patterns:

pre 3.x.x: Everything was normal.
3.2-3.7.x: Irritatingly high power consumption most of the time.
3.8.x: Normal power consumption most of the time, 1/X suspend-resumes lock CPU @ max freq, power consumption becomes insane.
3.9.x-3.10.x Essentially the same behavior as 3.8.x.

It's gotten to the point where I fear putting my laptop to sleep. It's a bit of a nasty situation: I don't want to suspend my laptop because there's a chance it'll end up running unreasonably hot when I resume. On the other hand, I don't want to lose my workspace/the state of my machine when I'm done for the day, so I just leave my laptop on all night.

Offline

#586 2013-09-06 09:09:49

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Loser777 wrote:

It's gotten to the point where I fear putting my laptop to sleep. It's a bit of a nasty situation: I don't want to suspend my laptop because there's a chance it'll end up running unreasonably hot when I resume. On the other hand, I don't want to lose my workspace/the state of my machine when I'm done for the day, so I just leave my laptop on all night.

You don't need to keep your laptop on whole night. Everytime this issue happens, random 3 or 4 suspend resumes do the thing for me. Whenever I have this problem, I try to do a few more suspend/resume cycles and check with powertop if the issue is solved.

Offline

#587 2013-09-06 21:42:41

cris9288
Member
Registered: 2013-01-07
Posts: 347

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I can't speak for everyone else here, but the overheating from suspend issue appears to be solve - at least on my machine. I do notice that my laptop tends to run hotter than usual and that my fans aren't as quiet.

Offline

#588 2013-09-06 22:15:34

mar04
Member
From: Poland
Registered: 2010-02-08
Posts: 116

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Yup, fix landed in 3.10.6 if I remember correctly. If you still have that issue, you better let the developers know about it, because https://bugs.freedesktop.org/show_bug.cgi?id=54089 is closed as FIXED.

Offline

#589 2013-09-11 11:04:00

Chais
Member
Registered: 2011-08-08
Posts: 32

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Right after boot my machine goes up to nearly 60°C, which is too much for my taste. I'd expect it to run at about 35°C when idle in Gnome.


--
Chais

Offline

#590 2013-10-10 04:31:45

trsk
Member
Registered: 2012-10-14
Posts: 38

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I also have the impression that the power consumption and temperature of my X220 are higher than with 3.5.6-1 (which is the last version that worked I know). Can anyone confirm this?

Offline

#591 2013-10-10 05:02:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

trsk wrote:

I also have the impression that the power consumption and temperature of my X220 are higher than with 3.5.6-1 (which is the last version that worked I know). Can anyone confirm this?

Maybe you should run some quick tests to see if your suspicion is right?  It would seem that complaints have really dies down in regard to this issue, so although I don't know that things are necessarily fully fixed, it would seem that they are likely at least better.  Originally, the posters in this thread were experiencing 20-25W power consumption under normal light use.  If you check powertop, I can pretty much gaurantee that you will not see this kind of insanity, unless you are running something like a desktop with some ridiculous discrete video card.

Offline

#592 2013-10-10 05:10:25

The Compiler
Member
From: Winterthur, Switzerland
Registered: 2011-05-01
Posts: 132
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

trsk wrote:

I also have the impression that the power consumption and temperature of my X220 are higher than with 3.5.6-1 (which is the last version that worked I know). Can anyone confirm this?

I'm running a vanilla 3.11.4-1 with a lightweight tiling desktop on a X220 Tablet, and I'm at 47°C / 13.2W right now, using WiFi and display on full brightness. Never has been better than this as far as I remember smile

Flo

Last edited by The Compiler (2013-10-10 05:10:44)


Currently running a crowdfunding campaign to work on qutebrowser full-time for a few weeks:

http://igg.me/at/qutebrowser

Offline

#593 2013-10-10 21:52:13

trsk
Member
Registered: 2012-10-14
Posts: 38

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

OK, I've now run some quantitative tests with powertop and it looks fine, thanks!

Offline

#594 2013-10-16 06:47:38

The Compiler
Member
From: Winterthur, Switzerland
Registered: 2011-05-01
Posts: 132
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I just had the same issue (GPU does not downclock) again on 3.11.5... sad


Currently running a crowdfunding campaign to work on qutebrowser full-time for a few weeks:

http://igg.me/at/qutebrowser

Offline

#595 2013-10-16 07:19:03

trsk
Member
Registered: 2012-10-14
Posts: 38

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

And I have just resumed from suspend on battery power and the CPU frequency was at 100%...

3.11.5-1-ARCH

Last edited by trsk (2013-10-16 07:19:23)

Offline

#596 2013-11-12 17:27:39

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Ah-a! Sorry for bumping this, but I just discovered something weird:

With chromium open, my i915 doesn't go into power saving, powertop indicates it running at 100% and fans start spinning.

Closing it, and using Firefox doesn't exhibit this behaviour. i915 goes into power saving mode correctly. Fans slow down to an acceptable speed.

Kernel: 3.12.0 from testing
chromium: 30.0.1599.114-1
/proc/cmdline: quiet pcie_aspm=force i915.i915_enable_rc6=1 acpi_backlight=vendor

Last edited by eazy (2013-11-12 17:28:15)


no masters to rule us, no gods to fool us

Offline

#597 2013-11-12 17:32:51

trsk
Member
Registered: 2012-10-14
Posts: 38

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

A follow-up from me: Since the one time I mentioned a month ago, the current stable Arch seems to be working fine on my X220 (SB). My current linux version is 3.11.6-1-ARCH.

Offline

#598 2013-11-12 18:04:30

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

eazy wrote:

/proc/cmdline: quiet pcie_aspm=force i915.i915_enable_rc6=1 acpi_backlight=vendor

I'm not sure about why your system would be suddenly using more energy, but do you really need these kernel command line arguments? 

The first bold one, pcie_aspm=force, worked around an issue quite some time ago.  It has the potential to cause instability, and is not needed most of the time.  You might want to check to make sure that it is indeed something that you need to include.

The second bold one, i915.i915_enable_rc6=1 is actually allowing your integrated GPU to consume more power than if you didn't have this at all.  Check the output of modinfo -p i915 and you'll see the various settings for that kernel module parameter.  There are three levels of sleep states available to these newer integrated GPUs, rc6, rc6p, and rc6pp.  You are essentially telling it that it can only go into the first sleep state and never into the deeper, more energy friendly, sleep states.

Offline

#599 2013-11-12 18:16:05

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

@WonderWoofy: that's a good question.
I'm now running without those options, and I confirm that the i915 goes to RC6 mode automatically, but doesn't go into lower power saving modes. Whatever.

But I can also confirm that using chromium the video card goes to 100% constant power usage. I'm not running any extension by the way.

Is it only me?


no masters to rule us, no gods to fool us

Offline

#600 2013-11-19 06:57:06

wlmeng11
Member
Registered: 2012-11-17
Posts: 6

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I'm using Firefox (not Chromium), and powertop reports the GPU to be powered on 100% of the time.
My temperatures are really hot (65 to 70 Celsius), causing the fan speed to be 3500 or 4000 rpm.

CPU usage is pretty low (less than 20%, load average 0.06).
My (external) display resolution is 2560x1440, but this problem has only started happening recently, so these temperatures are definitely abnormal.

3.12.0.1-ARCH
Thinkpad X220, i5

Offline

Board footer

Powered by FluxBB