锐角云/解锁性能

锐角云/解锁性能

InSpectre 禁用 Meltdown和Spectre漏洞补丁

下载 InSpectre,点击两个 disable,然后你会发现相应速度飞快。原理就是恢复Meltdown和Spectre漏洞补丁造成的性能损失(据说Apollo Lake单4K速度就23 to 37% slower)。disable 以后永久有效,但需要重启一次使生效。

RW-Everything 破解 N3450 CPU性能限制

对于N3450。还可以安装RW-Everything来破解CPU性能限制。需要每次开机运行一次。创建 n3450_optimize.bat 放到 RW-Everything 软件目录:

REM n3450_optimize.bat
@echo off
setlocal
cd /d %~dp0
rw.exe /Min /Nologo /Stdout /Command="WRMSR 0x610 0x0 0x00DD8F00"
taskkill /f /im cmd.exe
exit

上面脚本将 N3450 TDP 限制由默认的6W调高到15W。然后WIN+R,shell:startup 打开启动文件夹,创建上面 bat 的自启动快捷方式。

原理

RW.exe /Min /Nologo /Stdout /Command="WRMSR 0x610 0x0 0x00DD8A00 0"

A00 is power limit 1 in this case equals to 10W (2560/256). Default is 600 = 6W (1536/256). 256 = 2^8 is first byte called PKG_POWER_SKU_UNIT from MSR 0x606 which in Apollo Lake case equals to 0x8.

Default over limit time is 28 second. You can change that knowing this formula:
Control Time Window = [(1+0.25*X)*2^Y]*Z

Where:
X is 23:22 bits from MSR 0x610, default = 3 (0x3)
Y is 21:17 bits from MSR 0x610, default = 14 (0xE)
Z is 19:16 bits from MSR 0x606 (Time Unit, default value = 10 (0xA) which equals to 1s/2^10 = ~976us)

Note: According to Intel Xenon E5 v2 series maximum Control Time Windows is 40 seconds.
For 40 seconds it will require: X=1, Y=15(0xF) = 2F when Z=10(0xA)
To place it into 23:17 bits of MSR 0x610 you need to shit that value 17 places left:
0x2F << 17 (0x11) = 0x5E0000.
When you connect that with power limit value [14:0] and power limit clamp [16] and enable [15] bits you will get:
0x5E000 OR 0x18A00 = 0x5F8A00 for 10W and ~40 second over limit.

也可以使用 ThrottleStop 达到同样效果。


Last update: 2021-04-14 01:54:27 UTC