12th Apr 2009

自动降频

想搞这个很久了,一直不会搞,今天看了 qinqin 的帖子才知道怎么做。

装好了那个啥,结果出来这个:

analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU

这样就好了:

sudo modprobe -a acpi-cpufreq

很好很节能。

$ cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 2.00 GHz - 2.33 GHz
  available frequency steps: 2.33 GHz, 2.00 GHz
  available cpufreq governors: powersave, userspace, ondemand, conservative, performance
  current policy: frequency should be within 2.00 GHz and 2.33 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 2.00 GHz.
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 2.00 GHz - 2.33 GHz
  available frequency steps: 2.33 GHz, 2.00 GHz
  available cpufreq governors: powersave, userspace, ondemand, conservative, performance
  current policy: frequency should be within 2.00 GHz and 2.33 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 2.00 GHz.

PS:为什么电费要在星期一才能交呢。

3 Responses to “自动降频”

  1. autumncat Says:

    没有用 gnome 好久了.

  2. adaml Says:

    这样好干净的,http://www.linux-wiki.cn/index.php/Debian%E4%BD%BF%E7%94%A8CPU%E9%A2%91%E7%8E%87%E8%B0%83%E8%8A%82

    sudo vim /etc/modules

    # Cpufreq
    acpi-cpufreq
    cpufreq-conservative

    sudo vim /etc/rc.local

    #Cpufreq
    echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    echo conservative > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

Leave a Reply