ubuntu 调整cpu频率

ubuntu11.10,cpu默认运行在节能模式下,会比较慢,可以通过如下方式进行调整:

1,安装cpufrequtils:

sudo apt-get install cpufrequtils

2,执行cpufreq-info,查看当前cpu的状态

3,把cpu调整到性能模式:

sudo cpufreq-selector -g performance

使用上述方式,重启系统后又回到默认方式。修改默认模式:

1,安装sysfsutils

sudo apt-get install sysfsutils

2,编辑/etc/sysfs.conf ,增加如下语句:

devices/system/cpu/cpu0/cpufreq/scaling_governor = performance

猜你喜欢

转载自qlqllu.iteye.com/blog/1541601