1)查看CPU可设置的频率列表
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2)查看CPU当前所使用的频率:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
3)设置CPU频率(最高频率运行)
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor