Centos 关闭CPU主频控制

Centos7关闭cpu主频控制:

for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;
do
	[ -f $CPUFREQ ]|| continue;
	echo  -n  performance >$CPUFREQ;
done
1
2
3
4
5

Centos6

/etc/init.d/ cpuspeed stop 
1
最近更新: 12/9/2018, 10:09:30 PM