Step 1 Install msr-tools
sudo apt-get install msr-tools
Step 2
sudo modprobe msr
Step 3 Check Intel turbo boost status
sudo rdmsr -pi 0x1a0 -f 38:38
1=disabled
0=enabled
Replace i with your cores number example(-p2 for 2 core cpu)
Step 4 Open text editor copy paste following and save it as turbo-boost.sh
#!/bin/bash
if [[ -z $(which rdmsr) ]]; then
echo "msr-tools is not installed. Run 'sudo apt-get install msr-tools' to install it." >&2
exit 1
fi
if [[ ! -z $1 && $1 != "enable" && $1 != "disable" ]]; then
echo "Invalid argument: $1" >&2
echo ""
echo "Usage: $(basename $0) [disable|enable]"
exit 1
fi
cores=$(cat /proc/cpuinfo | grep processor | awk '{print $3}')
for core in $cores; do
if [[ $1 == "disable" ]]; then
sudo wrmsr -p${core} 0x1a0 0x4000850089
fi
if [[ $1 == "enable" ]]; then
sudo wrmsr -p${core} 0x1a0 0x850089
fi
state=$(sudo rdmsr -p${core} 0x1a0 -f 38:38)
if [[ $state -eq 1 ]]; then
echo "core ${core}: disabled"
else
echo "core ${core}: enabled"
fi
done
Step 3
Go to save file and open terminal from there.
Step 4 Disable turbo boost by following command
sudo ./turbo-boost.sh disable
Watch in Youtube for guide
https://youtu.be/HRYFxU3glrA
Comments
Post a Comment