You are not logged in.

#1 2014-03-10 17:20:54

breiti
Member
Registered: 2014-03-10
Posts: 5

Haswell-System doesn't go into powerstates lower than pc3

Hi there,

i'm running Arch on a ZOTAC ZBOX ID91 and i'm loving it. :-D
But powertop output looks like this: gist:fe037388d33660ee5ba4

What i already tried is extracting the DSDT, solve the errors. recompile with the latest iasl version and create a custom kernel which loads the custom dsdt. But nothing changed.

Any idea how i get the platform into a lower powerstate? This PC/Router runs (obv.) 24/7 so gaining power savings would be very nice.

I suspect it's because the PCI devices are at 100%. So do you have maybe an idea how can i achive this? I also set an udev-rule for enabling PCI powersaving:

SUBSYSTEM=="pci|scsi", TEST=="power/control", ATTR{power/control}="auto"

Any help and ideas are very appreciated, thanks.

Edit: Maybe this is relevant:

Mar 08 21:36:34 router kernel: ACPI FADT declares the system doesn't support PCIe ASPM, so disable it

But i'm booting with pcie_aspm=force! Why? sad

Last edited by breiti (2014-03-10 20:50:36)

Offline

#2 2014-03-10 17:27:41

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

On my machine I don't even get pc3, just pc2. I suspect the GPU. It has some power management features that aren't yet implemented in Linux. They're coming in kernel 3.14.

Offline

#3 2014-03-10 20:21:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Haswell-System doesn't go into powerstates lower than pc3

Same for me with an i3-4130T on an H87 board (3.13.6-1):

PowerTOP 2.5      Overview   Idle stats   Frequency stats   Device stats   Tunables                                     


          Package   |             Core    |            CPU 0       CPU 2
                    |                     | C0 active   0.0%        0.5%
                    |                     | POLL        0.0%    0.0 ms  0.4%   28.9 ms
                    |                     | C1E-HSW     0.0%    0.1 ms  0.3%    1.0 ms
C2 (pc2)    0.0%    |                     |
C3 (pc3)    0.0%    | C3 (cc3)    1.4%    | C3-HSW      0.0%    0.0 ms  1.5%    4.4 ms
C6 (pc6)    0.0%    | C6 (cc6)    0.0%    | C6-HSW      0.0%    0.0 ms  0.0%    2.1 ms
C7 (pc7)    0.0%    | C7 (cc7)   97.1%    | C7s-HSW   100.0%  439.4 ms 97.1%   73.8 ms

                    |             Core    |            CPU 1       CPU 3
                    |                     | C0 active   0.1%        0.0%
                    |                     | POLL        0.0%    0.0 ms  0.0%    0.0 ms
                    |                     | C1E-HSW     0.0%    0.0 ms  0.0%    0.0 ms
                    |                     |
                    | C3 (cc3)    0.0%    | C3-HSW      0.0%    0.0 ms  0.0%    0.0 ms
                    | C6 (cc6)    0.0%    | C6-HSW      0.0%    0.0 ms  0.0%    0.0 ms
                    | C7 (cc7)   99.9%    | C7s-HSW    99.9%  412.4 ms100.0%  459.5 ms

                    |             GPU     |
                    |                     |
                    | Powered On  1.5%    |
                    | RC6        98.5%    |
                    | RC6p        0.0%    |
                    | RC6pp       0.0%    |
                    |                     |
                    |                     |

Last edited by graysky (2014-03-10 20:52:38)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2014-03-10 20:33:33

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

graysky, we're talking about PC states (Package C states) here, not C states. You not getting deeper C states is a different problem. Have you checked EFI settings, maybe they're turned off there. Also check if a newer EFI version is available for your board.

Last edited by Gusar (2014-03-10 20:34:49)

Offline

#5 2014-03-10 20:52:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Haswell-System doesn't go into powerstates lower than pc3

Edited my post based on your comment... what does my machine show nothing for pc2-pc7 then?  Running in pc1 assuming?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2014-03-13 22:56:03

CharlieBra7o
Member
Registered: 2014-03-01
Posts: 20

Re: Haswell-System doesn't go into powerstates lower than pc3

I'm getting around 50-70% of PC2 (none above) with i5-4670K.

The PC states (and maybe the CC too) are also depedant on the PSU ur using, but mainly the motherboard. Here's an article about the C6/7 states which might help: http://www.legitreviews.com/what-enabli … l-cpu_2217

Offline

#7 2014-03-13 23:54:57

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

I get 98% PC2 with a i5-4570S. I'm using a PSU that's not officially Haswell certified, so it's definitely possible that the PSU is preventing deeper PC states.

That article doesn't really help, it's only about C-states, not PC-states.

Offline

#8 2014-03-14 14:06:51

fragfutter
Member
Registered: 2013-05-20
Posts: 18

Re: Haswell-System doesn't go into powerstates lower than pc3

with a psu that is not compatible with haswell, you would simply crash in a deeper package C state.

Offline

#9 2014-03-25 09:16:19

fragfutter
Member
Registered: 2013-05-20
Posts: 18

Re: Haswell-System doesn't go into powerstates lower than pc3

Looks like Package C States below C2 can only be reached after the monitor goes into standby via dpms.

On my Asus H81T board i needed to replace the network driver r8169 with r8168. The zotac box has the same realtek chipset, so you might want to try it.

Offline

#10 2014-03-25 17:30:25

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: Haswell-System doesn't go into powerstates lower than pc3

I'm getting pc3 most of the time. Board is an Intel dh87rl. The PSU is Haswell-compatible. Can/should this go deeper or is pc3 the normal and desired state?

Last edited by Thorsten Reinbold (2014-03-25 19:30:54)

Offline

#11 2014-03-26 09:03:31

fragfutter
Member
Registered: 2013-05-20
Posts: 18

Re: Haswell-System doesn't go into powerstates lower than pc3

depending on the CPU (celeron, pentium vs i3 and up) you should reach PC6 or PC7. The moment you have non intergrated graphics, or anything that does not support aspm, pc3 is the limit.

Offline

#12 2014-03-26 11:28:59

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: Haswell-System doesn't go into powerstates lower than pc3

Ok, thank you for the info. I have a Geforce 760, so I guess that is allright.

Offline

#13 2014-03-26 11:36:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

Except it's not. My older desktop (Clarkdale Core i3-530, H55 board) has a dedicated Nvidia card and it's in PC6 (the deepest available state, there's no PC7 on Clarkdale) for like 60% of the time. Even when the display is active.

PC8 (only available on ULV laptops and tablets) is the one that's reachable only when all displays are off.

Last edited by Gusar (2014-03-26 11:37:46)

Offline

#14 2014-03-26 12:22:33

CharlieBra7o
Member
Registered: 2014-03-01
Posts: 20

Re: Haswell-System doesn't go into powerstates lower than pc3

I have a Radeon HD 7950 but dont use it in Linux (=> radeon module is blacklisted - so it should be turned off completely shouldnt it?) but still dont get further than PC2...
Other than that I have a i5-4670K, Gigabyte GA-Z87X-UD4H (latest bios) and Corsair RM Series PSU (officially Haswell compatible) - so I dont see a problem there neutral
My SSD (Samsung 830) is completely encrypted, so is my RAID5 (both cryptsetup). But I cant think of how that could have anything to do with the issue either...

Last edited by CharlieBra7o (2014-03-26 13:50:14)

Offline

#15 2014-03-26 17:09:10

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: Haswell-System doesn't go into powerstates lower than pc3

So how to find out which devices are possibly incompatible with PC6/7?

Offline

#16 2014-04-12 19:49:03

breiti
Member
Registered: 2014-03-10
Posts: 5

Re: Haswell-System doesn't go into powerstates lower than pc3

Update: Updated to Linux 3.14 today, nothing changed. :-(

Offline

#17 2014-10-28 15:52:17

rossro
Member
Registered: 2014-10-28
Posts: 2

Re: Haswell-System doesn't go into powerstates lower than pc3

I'm working on DELL E7440 platform (Haswell based) with dual OS: Windows 8.1 and Ubuntu 14.04.1 (based on 3.13).
When I use Win 8.1, using BLA I get ~90% PC7 when idle. However, when I use the Ubuntu, using powertop I get only as low as PC3.
Since its the same platform, it seems to rule out a HW issue. Therefore, it can be either wrong report from powertop or something is wrong with the way Linux works over Haswell.

          Package   |             Core    |            CPU 0       CPU 2
                    |                     | C0 active   0.2%        0.1%
                    |                     | POLL        0.0%    0.0 ms  0.0%    0.0 ms
                    |                     | C1E-HSW     0.0%    0.1 ms  0.0%    0.0 ms
C2 (pc2)    0.1%    |                     |
C3 (pc3)    3.7%    | C3 (cc3)    0.0%    | C3-HSW      0.0%    0.4 ms  0.0%    0.4 ms
C6 (pc6)    0.0%    | C6 (cc6)    0.0%    | C6-HSW      0.0%    0.0 ms  0.0%    0.2 ms
C7 (pc7)    0.0%    | C7 (cc7)   99.0%    | C7s-HSW     0.1%    0.9 ms  0.1%    1.8 ms
C8 (pc8)    0.0%    |                     | C8-HSW      0.1%    1.4 ms  0.2%    2.5 ms
C9 (pc9)    0.0%    |                     | C9-HSW      0.4%    4.0 ms  2.3%    8.0 ms
C10 (pc10)  0.0%    |                     | C10-HSW    98.9%   44.5 ms 97.0%   36.5 ms

                    |             Core    |            CPU 1       CPU 3
                    |                     | C0 active   0.2%        0.1%
                    |                     | POLL        0.0%    0.0 ms  0.0%    0.0 ms
                    |                     | C1E-HSW     0.0%    0.0 ms  1.0%   50.1 ms
                    |                     |
                    | C3 (cc3)    0.0%    | C3-HSW      0.0%    0.7 ms  0.0%    0.6 ms
                    | C6 (cc6)    0.0%    | C6-HSW      0.0%    0.5 ms  0.0%    0.0 ms
                    | C7 (cc7)   98.0%    | C7s-HSW     0.1%    0.7 ms  0.4%   25.7 ms
                    |                     | C8-HSW      0.0%    4.9 ms  0.0%    1.5 ms
                    |                     | C9-HSW      0.6%    4.7 ms  0.7%   19.5 ms
                    |                     | C10-HSW    98.5%   93.5 ms 97.8%   78.0 ms

                    |             GPU     |
                    |                     |
                    | Powered On 12.1%    |
                    | RC6        87.9%    |
                    | RC6p        0.0%    |
                    | RC6pp       0.0%    |

Offline

#18 2014-10-28 16:08:28

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

rossro wrote:

Therefore, it can be either wrong report from powertop or something is wrong with the way Linux works over Haswell.

Or it can be a broken UEFI implementation on the motherboard, where "broken" means not fully standards compliant, only tested on Windows and therefore only working correctly there. This can be true in particular regarding ASPM. On my desktop (Gigabyte mainboard), ASPM is not active in Linux, and even forcing it on, nothing changes regarding PC states. I don't have Windows on this machine, though I do have plans to install it sometime soonish, specifically to see how the system behaves. BTW, how did you check PC states on Windows, which software did you use?

In contrast to the desktop, my new netbook (Baytrail) does have ASPM active in Linux and PC states work well.

Offline

#19 2014-10-28 16:25:10

rossro
Member
Registered: 2014-10-28
Posts: 2

Re: Haswell-System doesn't go into powerstates lower than pc3

Gusar wrote:

BTW, how did you check PC states on Windows, which software did you use?

I've used BLA from https://downloadcenter.intel.com/Detail … ldID=19351

Offline

#20 2014-10-28 16:44:53

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

It says there it doesn't work on desktop platforms. That's dumb. I'll try anyway, but in case it doesn't work, anyone know of other Windows software that can show C/PC states?

Offline

#21 2014-10-29 22:05:46

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Haswell-System doesn't go into powerstates lower than pc3

FFS, a password protected zip file?? I'm not gonna send any emails, especially because I can already see the "this application is not supported on your processor" kind of message. Why does Intel make it so hard to get this info in Windows, when they provide such awesome tools (powertop, turbostat) in Linux?

I ran what I could in Windows, "powercfg -energy", it said that ASPM is not active. It's quite possible this mainboard is too crappy for that and isn't even capable of states deeper than PC2.

Offline

Board footer

Powered by FluxBB