Win10论坛

Win10正式版系统下载主题平板

重定义Modern UI,打造完美Windows全新体验

Windows10下载|安装|新手宝典|必备软件

搜索
楼主: irelandken

[变频] 启用HWP 锁定CPU最高频率 让CPU展示其真正实力吧!~ [复制链接]

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-3-4 12:13:45 |显示全部楼层
Bifferent 发表于 2019-3-3 16:11
如果用在带k已经超频的CPU上就等于把倍频锁在默认频率了

所以, 首先, 我们要读一下[size=13.333333015441895px]IA32_HWP_REQUEST Register的文档

Rank: 2Rank: 2

UID
4817214
帖子
404
PB币
0
贡献
0
技术
1
活跃
441
发表于 2019-3-4 13:15:11 |显示全部楼层
感谢楼主分享~~~~

Rank: 2Rank: 2

UID
4834913
帖子
95
PB币
15
贡献
0
技术
0
活跃
251
发表于 2019-3-7 14:35:46 来自手机 |显示全部楼层
irelandken 发表于 2019-3-4 12:13
所以, 首先, 我们要读一下IA32_HWP_REQUEST Register的文档

好吧~_~,刚刚看完,抱歉

Rank: 1

UID
1602759
帖子
108
PB币
0
贡献
0
技术
2
活跃
160
发表于 2019-3-7 15:41:48 |显示全部楼层
AppleIntelInfo.kext在哪里下载

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-3-7 15:56:13 |显示全部楼层
liangsf 发表于 2019-3-7 15:41
AppleIntelInfo.kext在哪里下载

github 有这个project, 不过需要自己编译
https://github.com/Piker-Alpha/AppleIntelInfo

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-3-7 15:59:04 |显示全部楼层
果特尔 发表于 2018-11-11 02:50
HWPValue我折腾过,开机后确实有效,但是睡眠唤醒之后就失效了,楼主看看是否也有这种情况

睡眠唤醒后确实失效了, 或者唤醒后需要跑个脚本重启设置这个值? 有空再研究一下如何更新这个寄存器

Rank: 1

UID
1930097
帖子
99
PB币
33
贡献
0
技术
0
活跃
168
发表于 2019-3-9 01:09:00 |显示全部楼层
irelandken 发表于 2019-3-7 15:56
github 有这个project, 不过需要自己编译
https://github.com/Piker-Alpha/AppleIntelInfo

老哥,有空了能教教怎么编译吗?我想输出下我的信息,我的是I7 6950X,现在不能保持超频状态,总是降频率

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-3-9 12:08:37 |显示全部楼层
jjhoufei 发表于 2019-3-9 01:09
老哥,有空了能教教怎么编译吗?我想输出下我的信息,我的是I7 6950X,现在不能保持超频状态,总是降频率

AppleIntelInfo.kext 这里可以下载:
http://bbs.pcbeta.com/viewthread-1799267-1-1.html

使用说明:
http://www.yekki.me/appleintelinfo-usage/

Rank: 1

UID
2466166
帖子
53
PB币
0
贡献
0
技术
0
活跃
68
发表于 2019-4-8 15:36:07 |显示全部楼层
看的是云里雾里楼主在说的细点就好了

Rank: 5Rank: 5Rank: 5

UID
3652119
帖子
1107
PB币
76
贡献
0
技术
0
活跃
913
发表于 2019-5-15 23:01:45 |显示全部楼层
楼主HWPEnable改怎么设置才能锁3.6啊,clover睡眠后会失效,用了HWPEnable虽然HWP开启了,但是会x8,x36的跳,这u如果不注入任何值得话性能太低了,变频档位太多了,我按照你的方法0x00242424直接锁x36,快的飞起

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-5-16 00:32:40 来自手机 |显示全部楼层
lwf2012 发表于 2019-5-15 23:01
楼主HWPEnable改怎么设置才能锁3.6啊,clover睡眠后会失效,用了HWPEnable虽然HWP开启了,但是会x8,x36的跳 ...

到github/HWPEnable的仓库下,修改代码        if (!key_defaultsHWP->isEqualTo("0"))
        {
            wrmsr64(MSR_IA32_HWP_REQUEST, hex2int(key_defaultsHWP->getCStringNoCopy()));
        }else{
            wrmsr64(MSR_IA32_HWP_REQUEST, 0x0000000080002301);
        }
将这几行代码替换为这一行wrmsr64(MSR_IA32_HWP_REQUEST, 0x00242424);  然后重新编译生成kext即可

Rank: 2Rank: 2

UID
603202
帖子
379
PB币
25
贡献
0
技术
0
活跃
625
发表于 2019-5-17 05:51:51 |显示全部楼层
想请教下楼主,我这个7900X ES不显(QL2T)被锁定到700MHz要改哪里呢?华硕X299主板,在win10下OC 4300很稳,用的KGP大神的EFI和大部分SSDT,现在只有CPU主频这个恶性BUG没解决了,才接触黑果两周啥也不了解。Piker-Alpha那个编译好的AppleIntelInfo.kext我一加载就死机,后来发现用DarwinDumper也能导出来。发现勾上HWPEnable后开机加载clover那里就死机了,之前用ssdtPRGen.sh-Beta生成7900X的SSDT直接放到patch里也没有效果,这是我的AppleIntelInfo:
  1. AppleIntelInfo.kext v2.9 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.

  2. Settings:
  3. ------------------------------------------
  4. logMSRs..................................: 1
  5. logIGPU..................................: 0
  6. logCStates...............................: 1
  7. logIPGStyle..............................: 1
  8. InitialTSC...............................: 0x4106a9c8f8dc (2979 MHz)
  9. MWAIT C-States...........................: 8224

  10. Processor Brandstring....................: Genuine Intel(R) CPU 0000%@

  11. Processor Signature..................... : 0x50652
  12. ------------------------------------------
  13. - Family............................... : 6
  14. - Stepping............................. : 2
  15. - Model................................ : 0x55 (85)

  16. Model Specific Registers (MSRs)
  17. ------------------------------------------

  18. MSR_IA32_PLATFORM_ID.............(0x17)  : 0x0
  19. ------------------------------------------
  20. - Processor Flags...................... : 0

  21. MSR_CORE_THREAD_COUNT............(0x35)  : 0xA0014
  22. ------------------------------------------
  23. - Core Count........................... : 10
  24. - Thread Count......................... : 20

  25. MSR_PLATFORM_INFO................(0xCE)  : 0x70A2CBB011800
  26. ------------------------------------------
  27. - Maximum Non-Turbo Ratio.............. : 0x18 (2400 MHz)
  28. - Ratio Limit for Turbo Mode........... : 1 (programmable)
  29. - TDP Limit for Turbo Mode............. : 1 (programmable)
  30. - Low Power Mode Support............... : 0 (LMP not supported)
  31. - Number of ConfigTDP Levels........... : 2 (additional TDP level(s) available)
  32. - Maximum Efficiency Ratio............. : 10
  33. - Minimum Operating Ratio.............. : 7

  34. MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x400
  35. ------------------------------------------
  36. - I/O MWAIT Redirection Enable......... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
  37. - CFG Lock............................. : 0 (MSR not locked)
  38. - C3 State Auto Demotion............... : 0 (disabled/unsupported)
  39. - C1 State Auto Demotion............... : 0 (disabled/unsupported)
  40. - C3 State Undemotion.................. : 0 (disabled/unsupported)
  41. - C1 State Undemotion.................. : 0 (disabled/unsupported)
  42. - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
  43. - Package C-State Undemotion........... : 0 (disabled/unsupported)

  44. MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x1814
  45. ------------------------------------------
  46. - LVL_2 Base Address................... : 0x1814
  47. - C-state Range........................ : 0 (C3 is the max C-State to include)

  48. IA32_MPERF.......................(0xE7)  : 0x9B55F4D784
  49. IA32_APERF.......................(0xE8)  : 0x2DE8EECCA3

  50. MSR_FLEX_RATIO...................(0x194) : 0xE0000
  51. ------------------------------------------

  52. MSR_IA32_PERF_STATUS.............(0x198) : 0x266800000700
  53. ------------------------------------------
  54. - Current Performance State Value...... : 0x700 (700 MHz)

  55. MSR_IA32_PERF_CONTROL............(0x199) : 0x1800
  56. ------------------------------------------
  57. - Target performance State Value....... : 0x1800 (2400 MHz)
  58. - Intel Dynamic Acceleration........... : 0 (IDA engaged)

  59. IA32_CLOCK_MODULATION............(0x19A) : 0x0

  60. IA32_THERM_INTERRUPT.............(0x19B) : 0x0

  61. IA32_THERM_STATUS................(0x19C) : 0x883C0000
  62. ------------------------------------------
  63. - Thermal Status....................... : 0
  64. - Thermal Log.......................... : 0
  65. - PROCHOT # or FORCEPR# event.......... : 0
  66. - PROCHOT # or FORCEPR# log............ : 0
  67. - Critical Temperature Status.......... : 0
  68. - Critical Temperature log............. : 0
  69. - Thermal Threshold #1 Status.......... : 0
  70. - Thermal Threshold #1 log............. : 0
  71. - Thermal Threshold #2 Status.......... : 0
  72. - Thermal Threshold #2 log............. : 0
  73. - Power Limitation Status.............. : 0
  74. - Power Limitation log................. : 0
  75. - Current Limit Status................. : 0
  76. - Current Limit log.................... : 0
  77. - Cross Domain Limit Status............ : 0
  78. - Cross Domain Limit log............... : 0
  79. - Digital Readout...................... : 60
  80. - Resolution in Degrees Celsius........ : 1
  81. - Reading Valid........................ : 1 (valid)

  82. MSR_THERM2_CTL...................(0x19D) : 0x0

  83. IA32_MISC_ENABLES................(0x1A0) : 0x850089
  84. ------------------------------------------
  85. - Fast-Strings......................... : 1 (enabled)
  86. - FOPCODE compatibility mode Enable.... : 0
  87. - Automatic Thermal Control Circuit.... : 1 (enabled)
  88. - Split-lock Disable................... : 0
  89. - Performance Monitoring............... : 1 (available)
  90. - Bus Lock On Cache Line Splits Disable : 0
  91. - Hardware prefetch Disable............ : 0
  92. - Processor Event Based Sampling....... : 0 (PEBS supported)
  93. - GV1/2 legacy Enable.................. : 0
  94. - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
  95. - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
  96. - Adjacent sector prefetch Disable..... : 0
  97. - CFG Lock............................. : 0 (MSR not locked)
  98. - xTPR Message Disable................. : 1 (disabled)

  99. MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x5B0A00
  100. ------------------------------------------
  101. - Turbo Attenuation Units.............. : 0
  102. - Temperature Target................... : 91
  103. - TCC Activation Offset................ : 0

  104. MSR_MISC_PWR_MGMT................(0x1AA) : 0x400041
  105. ------------------------------------------
  106. - EIST Hardware Coordination........... : 1 (hardware coordination disabled)
  107. - Energy/Performance Bias support...... : 1
  108. - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
  109. - Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)
  110. - SpeedShift Technology Enable......... : 1 (enabled)
  111. - SpeedShift Interrupt Coordination.... : 0 (disabled)
  112. - SpeedShift Energy Efficient Perf..... : 0 (disabled)
  113. - SpeedShift Technology Setup for HWP.. : Yes (setup for HWP)

  114. MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2B2B2B2B2B2B2B2B
  115. ------------------------------------------
  116. - Maximum Ratio Limit for C01.......... : 2B (4300 MHz)
  117. - Maximum Ratio Limit for C02.......... : 2B (4300 MHz)
  118. - Maximum Ratio Limit for C03.......... : 2B (4300 MHz)
  119. - Maximum Ratio Limit for C04.......... : 2B (4300 MHz)
  120. - Maximum Ratio Limit for C05.......... : 2B (4300 MHz)
  121. - Maximum Ratio Limit for C06.......... : 2B (4300 MHz)
  122. - Maximum Ratio Limit for C07.......... : 2B (4300 MHz)
  123. - Maximum Ratio Limit for C08.......... : 2B (4300 MHz)

  124. MSR_TURBO_RATIO_LIMIT1...........(0x1AE) : 0x1C1814100A080402
  125. ------------------------------------------
  126. - Maximum Ratio Limit for C09.......... : 2 (200 MHz)
  127. - Maximum Ratio Limit for C10.......... : 4 (400 MHz)

  128. IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x5
  129. ------------------------------------------
  130. - Power Policy Preference...............: 5 (balanced performance and energy saving)

  131. MSR_POWER_CTL....................(0x1FC) : 0x2924005B
  132. ------------------------------------------
  133. - Bi-Directional Processor Hot..........: 1 (enabled)
  134. - C1E Enable............................: 1 (enabled)

  135. MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
  136. ------------------------------------------
  137. - Power Units.......................... : 3 (1/8 Watt)
  138. - Energy Status Units.................. : 14 (61 micro-Joules)
  139. - Time Units .......................... : 10 (976.6 micro-Seconds)

  140. MSR_PKG_POWER_LIMIT..............(0x610) : 0x15FFF800DEFFF8
  141. ------------------------------------------
  142. - Package Power Limit #1............... : 4095 Watt
  143. - Enable Power Limit #1................ : 1 (enabled)
  144. - Package Clamping Limitation #1....... : 0 (disabled)
  145. - Time Window for Power Limit #1....... : 111 (327680 milli-Seconds)
  146. - Package Power Limit #2............... : 4095 Watt
  147. - Enable Power Limit #2................ : 1 (enabled)
  148. - Package Clamping Limitation #2....... : 1 (allow going below OS-requested P/T state setting Time Window for Power Limit #2)
  149. - Time Window for Power Limit #2....... : 10 (2560 milli-Seconds)
  150. - Lock................................. : 0 (MSR not locked)

  151. MSR_PKG_ENERGY_STATUS............(0x611) : 0x2D6191F
  152. ------------------------------------------
  153. - Total Energy Consumed................ : 2904 Joules (Watt = Joules / seconds)

  154. MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x18
  155. MSR_CONFIG_TDP_LEVEL1............(0x649) : 0x188000000120460
  156. MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0x188000000120460
  157. MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x80000000
  158. MSR_TURBO_ACTIVATION_RATIO.......(0x64c) : 0x0
  159. MSR_PKGC3_IRTL...................(0x60a) : 0x0
  160. MSR_PKGC6_IRTL...................(0x60b) : 0x0
  161. MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
  162. MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x0
  163. MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
  164. MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0

  165. IA32_TSC_DEADLINE................(0x6E0) : 0x4106AF0D72B3

  166. IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

  167. IA32_HWP_CAPABILITIES............(0x771) : 0x0
  168. -----------------------------------------
  169. - Highest Performance.................. : 0
  170. - Guaranteed Performance............... : 0
  171. - Most Efficient Performance........... : 0
  172. - Lowest Performance................... : 0

  173. IA32_HWP_REQUEST_PKG.............(0x772) : 0x902B2B07
  174. -----------------------------------------
  175. - Minimum Performance.................. : 7
  176. - Maximum Performance.................. : 43
  177. - Desired Performance.................. : 43
  178. - Energy Efficient Performance......... : 144
  179. - Activity Window...................... : 0, 0

  180. IA32_HWP_REQUEST................(0x774) : 0x40000FFFF07
  181. -----------------------------------------
  182. - Minimum Performance................. : 7
  183. - Maximum Performance................. : 255
  184. - Desired Performance................. : 255
  185. - Energy Efficient Performance........ : 0
  186. - Activity Window..................... : 0, 0
  187. - Package Control..................... : 1 (control inputs to be derived from IA32_HWP_REQUEST_PKG)

  188. IA32_HWP_STATUS..................(0x777) : 0x0
  189. -----------------------------------------
  190. - Guaranteed Performance Change....... : 0 (has not occured)
  191. - Excursion To Minimum................ : 0 (has not occured)

  192. CPU Ratio Info:
  193. ------------------------------------------
  194. Base Clock Frequency (BLCK)............. : 100 MHz
  195. Maximum Efficiency Ratio/Frequency.......: 10 (1000 MHz)
  196. Maximum non-Turbo Ratio/Frequency........: 24 (2400 MHz)
  197. Maximum Turbo Ratio/Frequency............: 43 (4300 MHz)
  198. P-State ratio * 100 = Frequency in MHz
  199. ------------------------------------------
复制代码


Rank: 7Rank: 7Rank: 7

UID
4842671
帖子
2532
PB币
3211
贡献
0
技术
10
活跃
694
发表于 2019-5-17 10:43:45 |显示全部楼层
好像是说6代平台可以同时启用XCPM和HWP,7代平台如果启用HWP的话需要禁用XCPM(可以通过仿冒3代平台0x0306A0并添加NullCPUPowerManagement.kext驱动)

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-5-17 17:20:13 |显示全部楼层
cannibal2008 发表于 2019-5-17 05:51
想请教下楼主,我这个7900X ES不显(QL2T)被锁定到700MHz要改哪里呢?华硕X299主板,在win10下OC 4300很稳 ...

#CFG Lock ............................. : 0 (MSR not locked)

老哥, BIOS里把CFG Lock启用一下? 锁定P/C state, 使得操作系统无法再干预

#勾上HWPEnable
#IA32_HWP_REQUEST................(0x774) : 0x40000FFFF07
HWPValue的值设置不对?
Clover configurator里设置HWPValue为0x002B2B2B并勾选HWPEnable, 试试?

Rank: 2Rank: 2

UID
4843003
帖子
189
PB币
217
贡献
0
技术
0
活跃
421
发表于 2019-5-17 17:22:25 |显示全部楼层
云朵有点甜 发表于 2019-5-17 10:43
好像是说6代平台可以同时启用XCPM和HWP,7代平台如果启用HWP的话需要禁用XCPM(可以通过仿冒3代平台0x0306A ...

7代平台电源管理应该和8代差不多; 需要启用HWP的话, 前提是需要BIOS里把CFG LOCK锁上, 应该就能启用HWP了

Rank: 7Rank: 7Rank: 7

UID
4842671
帖子
2532
PB币
3211
贡献
0
技术
10
活跃
694
发表于 2019-5-17 17:25:14 来自手机 |显示全部楼层
irelandken 发表于 2019-5-17 17:22
7代平台电源管理应该和8代差不多; 需要启用HWP的话, 前提是需要BIOS里把CFG LOCK锁上, 应该就能启用HWP了

有没有比较完整的教程,信息太碎片化了

Rank: 5Rank: 5Rank: 5

UID
2033567
帖子
1011
PB币
471
贡献
0
技术
0
活跃
706
发表于 2019-5-17 17:26:25 |显示全部楼层
我因为太相信CPUS软件的结果,
为一直在高频率运行而郁闷了很久
但用那个INTEL的工具一看,变频原来是正常的。
这下心里舒服多了。

Rank: 5Rank: 5Rank: 5

UID
3652119
帖子
1107
PB币
76
贡献
0
技术
0
活跃
913
发表于 2019-5-17 21:00:09 |显示全部楼层
irelandken 发表于 2019-5-16 00:32
到github/HWPEnable的仓库下,修改代码        if (!key_defaultsHWP->isEqualTo("0"))
        {
     ...

老哥修改了还是不行啊变成242408了






附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 5Rank: 5Rank: 5

UID
3652119
帖子
1107
PB币
76
贡献
0
技术
0
活跃
913
发表于 2019-5-17 21:15:42 |显示全部楼层
irelandken 发表于 2019-5-16 00:32
到github/HWPEnable的仓库下,修改代码        if (!key_defaultsHWP->isEqualTo("0"))
        {
     ...

楼主,我机型改成iMac19.2发现无论clover还是HWPenable都只能242408了,锁不了242424

Rank: 5Rank: 5Rank: 5

UID
3652119
帖子
1107
PB币
76
贡献
0
技术
0
活跃
913
发表于 2019-5-17 21:25:04 |显示全部楼层
楼主我来补充一点,8100千万不要用iMac19.2机型,因为你无论怎么修改都只能242408,这个机型的白果也是用的8100是同一个u,感觉跟白果用同一个u反而会出现更多问题。。。。。
回顶部
Copyright (C) 2005-2020 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛 | 电脑硬件 | 安卓软件