linux cpu锁频

命令

#上限

sudo cpufreq-set -c i -u 3.8GHz
# i  是你的线程id 比如你是4核心4线程,那么i={0,1,2,3}
#下限
sudo cpufreq-set -c i -d 3.8GHz

Leave a Comment