How to control turbo boost inside the operating system
If you would like to control whether turbo boost is allowed from within linux instead of using the bios settings for your server you can create the following scripts
enable_turbo
xxxxxxxxxx
1
#!/bin/bash
2
echo "0" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
disable_turbo
xxxxxxxxxx
1
#!/bin/bash
2
echo "1" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
I put these in two separate files and then made both executable. I moved them into a directory that was on my path.
No Comments