You are not logged in.

#551 2013-07-17 20:16:01

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

dr_undecided wrote:

Sweet!
What kernel version will it be included in? When do you estimate it will reach the core repository?

It's not even in the official tree yet. It's only been proposed, though I expect it to be put into either a later 3.11 rc or 3.12.


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

Offline

#552 2013-07-24 09:46:17

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Tried the latest 3.9.9 with the pm_async workaround, still 10 °C hotter than kernel 3.5.6 -- 60 °C idle vs 50 °C [Sony Vaio VPCSA.]

From powertop it seems that while there's a regression on the i915 driver which the recent commit should have fixed, there's another huge power regression which started some time after 3.5.6 and hasn't been tackled yet.

As I seem to understand it there are two major regressions:

1) High power usage after suspend/resume cycle -- mainly due to i915 driver (pm_async workaround)
2) High power usage after boot -- due to ?? (no workaround yet, apart from downgrading to 3.5.6)

#1 has been fixed by latest commit, #2 is still at large.

Anyone else can confirm this diagnosis?

Last edited by eazy (2013-07-24 09:50:30)


no masters to rule us, no gods to fool us

Offline

#553 2013-07-25 20:33:22

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

It's definitely better with 3.10.2. I'm using stable kernel from official repo. With 3.9.9 after suspend cpu was mostly overheating. For now I'm working without any problem. Don't know if it's fixed, but it's still better.

Offline

#554 2013-07-25 20:36:37

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Yes, it seems to be ok with 3.10.2.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#555 2013-07-26 00:42:46

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Are you two referring only to the suspend regression or also to the general higher power consumption after boot?

Offline

#556 2013-07-26 08:16:03

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I was referring to the suspend regression. But it just happened again with 3.10.2. I guess the patch is not included.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#557 2013-07-26 08:18:56

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I have also noticed some image degradation after resume with 3.10.2.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#558 2013-07-26 08:46:40

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

No, the patch wasn't present. Just embedded it. Compiling now.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#559 2013-07-27 20:33:06

www123
Member
Registered: 2013-05-25
Posts: 2

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Dell Inspiron 7720 (17r SE) i7 3630qm CPU idles much cooler in Windows 7/8 than Arch +10 degrees C (kernel 3.9.9-1-ARCH)
Is there any solution to this?

Last edited by www123 (2013-07-27 20:34:45)

Offline

#560 2013-07-27 22:19:26

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

With the patch applied to 3.10.2 everything is ok for me.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#561 2013-07-27 22:25:54

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

@firewalker: So there is no graphics corruption and no further problems either? How is your power consumption now (compared to 3.5.6)?

Offline

#562 2013-07-27 22:41:29

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

No, no corruption, no overheating after suspend.

As far as the new power scene, Intel PSTATE. It is better when in powersave mode than the old powersave (acpi). The overall impression is that Intel PSTATE regulates power consumption in a better way.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#563 2013-07-27 22:50:15

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Thanks. Are you using laptop-mode-tools or similar? Could you also post some exemplary numbers when idling with no foreground or background programms running, with brightness set to lowest, enabled WLAN, disabled BT, disabled Ethernet, no attached devices (USB, displays etc.), with a charged battery? After boot and after resuming from suspend?

If you're using smapi, you could use the following:

cat /sys/devices/platform/smapi/BAT0/{power_avg,power_now}

Offline

#564 2013-07-27 23:05:45

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

www123 wrote:

Dell Inspiron 7720 (17r SE) i7 3630qm CPU idles much cooler in Windows 7/8 than Arch +10 degrees C (kernel 3.9.9-1-ARCH)
Is there any solution to this?

https://wiki.ubuntu.com/Kernel/PowerMan … vingTweaks
https://wiki.archlinux.org/index.php/TLP
https://aur.archlinux.org/packages/thermald-git/

Offline

#565 2013-07-28 00:09:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

trsk wrote:

Thanks. Are you using laptop-mode-tools or similar? Could you also post some exemplary numbers when idling with no foreground or background programms running, with brightness set to lowest, enabled WLAN, disabled BT, disabled Ethernet, no attached devices (USB, displays etc.), with a charged battery? After boot and after resuming from suspend?

If you're using smapi, you could use the following:

cat /sys/devices/platform/smapi/BAT0/{power_avg,power_now}

Why don't you just test it yourself? Nothing anybody posts here can guarantee it will perform the same way for you in any case. If it doesn't pan out, downgrade back to your working kernel.

What would this information usefully tell you in any case? My laptop, for example, is essentially unusable with brightness at the lowest setting - might as well save the power and put it to sleep since you can't read anything anyway. I certainly wouldn't be able to get numbers off the thing in that state.

This just looks like you are trying to get other people to do your testing for you. If you want to know, test it. Just like if you want to know which DE or WM you should use, install some and decide which you like.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#566 2013-07-28 00:14:23

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Sorry, I didn't mean to appear lazy, it's just that I don't have access to my X220 currently. Also, I wanted to specify the most important parameters in some way so that we can compare the results amongst each other. Disabling most of the things and turning down the brightness has the advantage of making small differences between wattages relatively larger.

Last edited by trsk (2013-07-28 00:14:45)

Offline

#567 2013-07-28 00:17:00

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

You should just wait until you get your machine back then.  It sounds like whatever poor soul tries to provide this information for you is then going to be bombarded with a billion other test requests...

Offline

#568 2013-07-28 01:42:43

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Running 3.11-rc2, and still getting hit by this. Have not tried the patch yet, but I still haven't been able to reliably reproduce yet, so I don't know if I can ever say if it's working.


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

Offline

#569 2013-07-29 06:24:41

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

The patch is now in kernel 3.11-rc3, but sadly not in 3.10.4. We will have to wait a little longer till it lands in [core].

Last edited by mar04 (2013-07-29 06:33:42)

Offline

#570 2013-07-29 06:41:09

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

If I don't see it again for the rest of time I'll be happy.


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

Offline

#571 2013-07-31 11:23:39

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

With the patch to the 3.10.2 there is definitely a display degradation.

http://i.imgur.com/WgRpBLr.png

After some mouse movement the display is ok (with minor artifacts that eventualy goes away).

And some dmesg errors:

[ 7073.391125]  [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[ 7073.391130]  [drm] capturing error event; look for more information in /sys/kernel/debug/dri/0/i915_error_state
[ 7073.402402]  [drm:kick_ring] *ERROR* Kicking stuck semaphore on render ring
[13137.145779] [drm] Wrong MCH_SSKPD value: 0x16040307
[13137.145780] [drm] This can cause pipe underruns and display issues.
[13137.145780] [drm] Please upgrade your BIOS to fix this.
[13138.285473] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp on

Thermally, everything is ok.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#572 2013-07-31 17:56:57

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

firewalker wrote:

With the patch to the 3.10.2 there is definitely a display degradation.

Might not be related to this issue, but there were some follow up patches: http://lists.freedesktop.org/archives/i … 30858.html

Offline

#573 2013-07-31 18:05:38

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

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Alright, I think we should keep this just to the cpu/gpu scaling issue for 3.6-3.1?.x (?). If you've got graphical issues, I'm just going to recommend starting a new thread.

Last edited by KaiSforza (2013-07-31 18:05:49)


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

Offline

#574 2013-07-31 21:56:43

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

KaiSforza wrote:

Alright, I think we should keep this just to the cpu/gpu scaling issue for 3.6-3.1?.x (?). If you've got graphical issues, I'm just going to recommend starting a new thread.

There are already threads on the graphical issue (at least two). There are also at least two apparently distinct graphical issues. So it would be best if people posted to those threads rather than contaminating this one or starting new ones, I think.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#575 2013-07-31 23:26:55

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

mar04 wrote:

The patch is now in kernel 3.11-rc3, but sadly not in 3.10.4. We will have to wait a little longer till it lands in [core].

See https://bugs.archlinux.org/task/36107


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB