ubuntu 调整cpu运行模式至高性能

ubuntu下cpu默认运行在节能模式下,会比较慢,通过如下方式进行调整

1、安装cpufrequtils:
    sudo apt-get install cpufrequtils


2、查看当前cpu的状态:
    cpufreq-info


3、把cpu调整到性能模式:
    sudo cpufreq-set -g performance

使用上述方式,重启系统后又回到默认方式。修改默认模式:
 1、安装sysfsutils
    sudo apt-get install sysfsutils

 2、编辑/etc/sysfs.conf ,增加如下语句:
    devices/system/cpu/cpu0/cpufreq/scaling_governor = performance

转自:https://www.aliyun.com/jiaocheng/208586.html

猜你喜欢

转载自blog.csdn.net/li528405176/article/details/82823922
今日推荐