iuvolt
iuvolt copied to clipboard
Turbo Boost
Is it possible to change the turboboost window and watt with the same method used for undervolting? this would be awesome.
i just build this script.
call it like this:
script.sh <desired TDP in watt> <desired turbo 4core multiplier (37 = 3.7ghz)>
script.sh 45 37
works perfect on my X1 Carbon 2018 with i7 8550u.
runs with 3.5 to 3.7 Ghz all the time with max of 91°C (lenovo doesnt allow more than 3.7Ghz in turbo :( )
if [ $(id -u) -ne 0 ]; then
echo "root only"
exit
fi;
dec=$(echo "$1 / 0.125" | bc)
hex=$(printf "%03x" $dec)
wrmsr -a 0x1a2 0x3000000 #set temperature target to 97C maximum
wrmsr -a 0x65c "0x82d000dd8$hex" #set platform power limit
wrmsr -a 0x610 "0x42819800FC8$hex"#set package power limit
#set high and low power limit to MCHBAR register
iotools mmio_write64 0xfed159a0 "0x00DD8$hex"
iotools mmio_write64 0xfed159a4 "0x00DD8$hex"
if [ -n $2 ]; then
multi=$(printf "%02x" $2)
wrmsr -a 0x1AD "0x$multi$multi$multi$multi" #only do this if 0xCEH -f 28:28 is 1
fi