Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu优化CPU的工作频率

Ubuntu优化CPU的工作频率,打开终端:sudo apt-get install cpufrequtils然后sudo chmod u+s /usr/bin/cpufreq-set在系统启动程序startup application里面添加两条命令:/usr/bin/cpufreq-set   -c   0   -g   conservative/usr/bin/cpufreq-set   -c   1   -g   conservative可以在启动后执行如下命令确认是否生效:cat    /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor执行cpufreq-info 得到如下信息(电脑是双核的)
nalyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 2.00 GHz
  available frequency steps: 2.00 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1000 MHz and 2.00 GHz.
                  The governor "conservative" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz.
  cpufreq stats: 2.00 GHz:8.28%, 1.67 GHz:1.46%, 1.33 GHz:2.61%, 1000 MHz:87.64%  (35285)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 2.00 GHz
  available frequency steps: 2.00 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1000 MHz and 2.00 GHz.
                  The governor "conservative" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz.
  cpufreq stats: 2.00 GHz:8.88%, 1.67 GHz:0.99%, 1.33 GHz:1.57%, 1000 MHz:88.56%  (35873) 更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2苹果iOS 5.1.1完美越狱详尽图文教程Ubuntu Linux下的用户切换相关资讯      Ubuntu使用教程 
  • Ubuntu使用教程:E: 无法获得锁 /  (06/19/2014 17:15:12)
  • Ubuntu使用教程 :让Trusty Tahr变  (05/07/2014 16:30:53)
  • 怎样打开64位 Ubuntu 的32位支持功  (04/27/2014 17:15:36)
  • Ubuntu 11.04 环境指纹识别驱动的  (05/22/2014 09:57:26)
  • Ubuntu 下disk清理保护  (05/01/2014 07:24:50)
  • Ubuntu 14.04自动登录到桌面  (04/24/2014 14:00:53)
本文评论 查看全部评论 (0)
表情: 姓名: 字数