Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
powersave governor not scaling down with newer kernels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mndar
n00b
n00b


Joined: 04 Apr 2005
Posts: 52

PostPosted: Sat Feb 21, 2015 3:36 pm    Post subject: powersave governor not scaling down with newer kernels Reply with quote

Frequency scaling (scaling down with the powersave governor) on my i7 4770 is working only with 3.14.1. Later versions(3.14.33 3.15.10 3.19) don't scale down the frequency when the system is idle.

I'm attaching my kernel config and the output of turbostat.
I could post the output of powertop but I am not sure which part of the output I should post.
Any pointers?

Here is the output of turbostat on 3.14.33
Code:
i7 turbostat # ./turbostat -v
turbostat v3.6 Dec 2, 2013 - Len Brown <lenb@kernel.org>
CPUID(0): GenuineIntel 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
CPUID(6): APERF, DTS, PTM
RAPL: 3121 sec. Joule Counter Range, at 84 Watts
cpu0: MSR_NHM_PLATFORM_INFO: 0x80838f3012200
8 * 100 = 800 MHz max efficiency
34 * 100 = 3400 MHz TSC frequency
cpu0: MSR_IA32_POWER_CTL: 0x0000005d (C1E auto-promotion: DISabled)
cpu0: MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x18000402 (UNdemote-C3, UNdemote-C1, UNlocked: pkg-cstate-limit=2: pc6-noret)
cpu0: MSR_NHM_TURBO_RATIO_LIMIT: 0x25262727
37 * 100 = 3700 MHz max turbo 4 active cores
38 * 100 = 3800 MHz max turbo 3 active cores
39 * 100 = 3900 MHz max turbo 2 active cores
39 * 100 = 3900 MHz max turbo 1 active cores
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x000002a0 (84 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0xffd00000ea82 (UNlocked)
cpu0: PKG Limit #1: ENabled (3408.250000 Watts, 0.000977 sec, clamp DISabled)
cpu0: PKG Limit #2: ENabled (4090.000000 Watts, 0.000977* sec, clamp DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x0000ffd0 (UNlocked)
cpu0: Cores Limit: ENabled (4090.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x0000ffd0 (UNlocked)
cpu0: GFX Limit: ENabled (4090.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00641400 (100 C)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x883d0000 (39 C)
cpu0: MSR_IA32_THERM_STATUS: 0x883d0000 (39 C +/- 1)
cpu1: MSR_IA32_THERM_STATUS: 0x883f0000 (37 C +/- 1)
cpu2: MSR_IA32_THERM_STATUS: 0x88400000 (36 C +/- 1)
cpu3: MSR_IA32_THERM_STATUS: 0x883f0000 (37 C +/- 1)
cor CPU    %c0  GHz  TSC SMI    %c1    %c3    %c6    %c7 CTMP PTMP   %pc2   %pc3   %pc6   %pc7  Pkg_W  Cor_W GFX_W
          0.98 3.71 3.39   0   3.83   0.91   0.04  94.25   38   39  92.81   0.00   0.00   0.00   0.83   0.00  0.00
  0   0   1.02 3.72 3.39   0   3.84   1.60   0.10  93.43   38   39  92.81   0.00   0.00   0.00   0.83   0.00  0.00
  0   4   0.91 3.70 3.39   0   3.95
  1   1   0.94 3.71 3.39   0   3.71   0.79   0.00  94.56   37
  1   5   0.95 3.71 3.39   0   3.70
  2   2   0.92 3.71 3.39   0   3.70   0.03   0.04  95.32   35
  2   6   0.96 3.71 3.39   0   3.66
  3   3   1.15 3.74 3.39   0   3.95   1.24   0.00  93.67   36

Here is the output of turbostat on 3.14.1
Code:
i7 turbostat # ./turbostat -v
turbostat v3.6 Dec 2, 2013 - Len Brown <lenb@kernel.org>
CPUID(0): GenuineIntel 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
CPUID(6): APERF, DTS, PTM
RAPL: 3121 sec. Joule Counter Range, at 84 Watts
cpu0: MSR_NHM_PLATFORM_INFO: 0x80838f3012200
8 * 100 = 800 MHz max efficiency
34 * 100 = 3400 MHz TSC frequency
cpu0: MSR_IA32_POWER_CTL: 0x0000005d (C1E auto-promotion: DISabled)
cpu0: MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x18000402 (UNdemote-C3, UNdemote-C1, UNlocked: pkg-cstate-limit=2: pc6-noret)
cpu0: MSR_NHM_TURBO_RATIO_LIMIT: 0x25262727
37 * 100 = 3700 MHz max turbo 4 active cores
38 * 100 = 3800 MHz max turbo 3 active cores
39 * 100 = 3900 MHz max turbo 2 active cores
39 * 100 = 3900 MHz max turbo 1 active cores
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x000002a0 (84 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0xffd00000ea82 (UNlocked)
cpu0: PKG Limit #1: ENabled (3408.250000 Watts, 0.000977 sec, clamp DISabled)
cpu0: PKG Limit #2: ENabled (4090.000000 Watts, 0.000977* sec, clamp DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x0000ffd0 (UNlocked)
cpu0: Cores Limit: ENabled (4090.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x0000ffd0 (UNlocked)
cpu0: GFX Limit: ENabled (4090.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00641400 (100 C)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x883f0000 (37 C)
cpu0: MSR_IA32_THERM_STATUS: 0x88400000 (36 C +/- 1)
cpu1: MSR_IA32_THERM_STATUS: 0x88420000 (34 C +/- 1)
cpu2: MSR_IA32_THERM_STATUS: 0x88420000 (34 C +/- 1)
cpu3: MSR_IA32_THERM_STATUS: 0x88420000 (34 C +/- 1)
cor CPU    %c0  GHz  TSC SMI    %c1    %c3    %c6    %c7 CTMP PTMP   %pc2   %pc3   %pc6   %pc7  Pkg_W  Cor_W GFX_W
          5.26 0.80 3.39   0  10.32  11.90   6.75  65.77   36   37  65.40   0.00   0.00   0.00   0.83   0.00  0.00
  0   0  11.97 0.80 3.39   0  13.04  44.06  22.63   8.30   36   37  65.40   0.00   0.00   0.00   0.83   0.00  0.00
  0   4   3.03 0.80 3.39   0  21.98
  1   1   5.28 0.80 3.39   0   7.14   1.34   1.31  84.94   36
  1   5   3.74 0.80 3.39   0   8.68
  2   2   5.29 0.80 3.39   0   7.36   1.46   1.03  84.86   34
  2   6   3.98 0.80 3.39   0   8.66
  3   3   5.09 0.80 3.39   0   7.17   0.73   2.02  84.98   35
  3   7   3.69 0.80 3.39   0   8.57
cor CPU    %c0  GHz  TSC SMI    %c1    %c3    %c6    %c7 CTMP PTMP   %pc2   %pc3   %pc6   %pc7  Pkg_W  Cor_W GFX_W
          5.01 0.80 3.39   0  10.20  12.44   6.12  66.24   36   38  65.88   0.00   0.00   0.00   0.83   0.00  0.00
  0   0  11.23 0.80 3.39   0  13.61  46.86  21.46   6.84   36   38  65.88   0.00   0.00   0.00   0.83   0.00  0.00
  0   4   3.24 0.80 3.39   0  21.61
  1   1   5.18 0.80 3.39   0   7.14   1.51   1.29  84.87   35
  1   5   3.67 0.80 3.39   0   8.66
  2   2   4.37 0.80 3.39   0   7.50   0.65   1.19  86.28   34
  2   6   4.05 0.80 3.39   0   7.82
  3   3   4.73 0.80 3.39   0   7.04   0.74   0.52  86.97   34
  3   7   3.59 0.80 3.39   0   8.19


and here is my kernel config http://pastebin.com/y6DNd2zT
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Feb 21, 2015 6:54 pm    Post subject: Reply with quote

Are those power readings accurate? It's saying 0.83W for both.
Back to top
View user's profile Send private message
mndar
n00b
n00b


Joined: 04 Apr 2005
Posts: 52

PostPosted: Sun Feb 22, 2015 2:07 pm    Post subject: Reply with quote

Checked again. I'm getting a similar output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum