Ubuntu10.04でCool'n'Quietを有効化

P.S. 2014May11
 多分Ubuntu14.04とかでは、cpufrequtilsとBIOSでCool'n'Quietだけで良いと思われる。
なぜならdebian/whezzyではlinuxカーネルにデフォルトに入ったのかpowernowdが無くても
ってか、そもそも無くなってた><

 以下を参考に設定してみる。

http://prototype-game.blogspot.com/2008/10/ubuntu-804-amd64.html
CPU frequency scaling - ArchWiki
http://www.gentoo.org/doc/ja/power-management-guide.xml#doc_chap2
動的にCPUクロックや電圧を変更するcpufreqの概要とcpufreqdデーモンについて - 試験運用中なLinux備忘録

環境

 AthlonX2の3GHzなので多分K10コアw;
motherはAM2なので、最新BIOSでもCPUの認識はunknown><

ん〜、そんなマザーで大丈夫か?

BIOS設定

 Cool'nQuietを有効*1にする。

OS設定

 CPUドライバのインストールする。

$ sudo aptitude install cpufrequtils
$ sudo aptitude install powernowd
$ /etc/init.d/powernowd start
$ modprobe powernow-k8

 正常に動作してるか確認*2する。

$ cpufreq-info
cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 36.0 us.
  hardware limits: 800 MHz - 3.00 GHz
  available frequency steps: 3.00 GHz, 2.30 GHz, 1.80 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 3.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 3.00 GHz:22.42%, 2.30 GHz:0.19%, 1.80 GHz:2.62%, 800 MHz:74.77%  (97)
analyzing CPU 1:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 36.0 us.
  hardware limits: 800 MHz - 3.00 GHz
  available frequency steps: 3.00 GHz, 2.30 GHz, 1.80 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 3.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 3.00 GHz:20.07%, 2.30 GHz:0.15%, 1.80 GHz:2.02%, 800 MHz:77.76%  (74)
大丈夫だ、問題ない

 色々適当に設定してみたけど、これで大丈夫か?

*1:にしていなかったw;

*2:駄目だとunknownだと言われますw;