This repository offers a method for disabling BD PROCHOT (Bi-Directional Processor Hot) on Linux systems at boot time. BD PROCHOT is a thermal throttling feature that allows external devices to signal the CPU to throttle down to avoid overheating. Disabling BD PROCHOT can help maintain performance if thermal throttling is happening prematurely, but it should be done with caution.
Before proceeding, ensure you have msr-tools
installed on your system. Here's how to install msr-tools
on various Linux distributions:
- Arch Linux:
sudo pacman -S msr-tools
- Ubuntu and derivatives:
sudo apt-get install msr-tools
- Fedora and derivatives:
sudo dnf install msr-tools
- CentOS:
sudo yum install msr-tools
- Open a terminal and run the following command to create a new script file:
sudo nano /usr/local/bin/disable_bd_prochot.sh
- Insert the following commands into the script:
#!/bin/bash modprobe msr rdmsr 0x1FC wrmsr 0x1FC value
- Save and exit the editor (
Ctrl+O
,Enter
,Ctrl+X
).
Assign execution permissions to the script:
sudo chmod +x /usr/local/bin/disable_bd_prochot.sh
- Run the following command to create a new service file:
sudo nano /etc/systemd/system/disable_bd_prochot.service
- Insert the following content into the service file:
[Unit] Description=Disable BD PROCHOT [Service] Type=oneshot ExecStart=/usr/local/bin/disable_bd_prochot.sh [Install] WantedBy=multi-user.target
- Save and exit the editor.
Enable the service to run at startup:
sudo systemctl enable disable_bd_prochot.service
Reboot your system to verify the script executes at startup:
sudo reboot
To disable BD PROCHOT automatically, you can use the provided script by running:
curl -LO https://raw.githubusercontent.com/fralapo/Disable-BD-PROCHOT-on-LINUX/master/Disable_BD_PROCHOT ; sudo bash Disable_BD_PROCHOT
For convenience, an automatic script is available. This script will perform all the necessary steps to disable BD PROCHOT on your system. Use the command shown in the Usage section to run it.
- The steps provided are indicative and might vary based on the Linux distribution you are using.
- Disabling BD PROCHOT can lead to potential overheating issues. Proceed with caution and ensure your data is backed up before making any changes.
This project is licensed under the MIT License - see the LICENSE file for details.