2009-03-25 (Wed)

_ [debian] linux-kbuild-2.6.29 ない

linux-kbuild-2.6.28 ないといってる間に 2.6.29 が出てしまった。んでこちらもまだない。

_ [debian] 続・privoxy 3.0.11-1 変…ではない

よく考えたら flet’s で閉網なグローバル IPv6 アドレスもらってるせいか。疑ってごめん。> privoxy どっちにしろ IPv6 無効なオプションは欲しいところだなあ。

2009-03-24 (Tue)

_ [unicon] 20090324-2.6.29

前回toshiさんから頂いた修正で pending になっていたものを merge。 また、UNICON ページ に貢献者の項目を設けた。

2009-03-23 (Mon)

_ [vdr] 13:30-14:10 停電

電気工事のため停電していたようです。

_ [comp] cpufrequtils を試す

ささやかな省電力のために cpufrequtils を入れる。

# grep name /proc/cpuinfo 
model name	: Intel(R) Pentium(R) M processor 1500MHz
#

# lsmod | grep speedstep
speedstep_centrino      5728  0 
freq_table              4224  1 speedstep_centrino
#



# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 
600000 800000 1000000 1200000 1400000 1500000
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors   
performance
#

周波数はいくつか選べるけど、governor が performance の1種類しかない。これだと常に最高周波数で動作してしまう。選べる governor を増やすには別にモジュールを読み込む必要があるみたい。

# ls -1 /lib/modules/2.6.26-1-686/kernel/drivers/cpufreq/
cpufreq_conservative.ko
cpufreq_ondemand.ko
cpufreq_powersave.ko
cpufreq_stats.ko
cpufreq_userspace.ko
freq_table.ko
# 

CPU の動作状況に応じて変動する ondemand を読んでみた。

# modprobe cpufreq_ondemand
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
ondemand performance 
# 

増えた。これは /etc/modules に追加しておこう。 次に cpufrequtils の設定。

# vi /etc/default/cpufrequtils 
ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED="1500000"
MIN_SPEED="600000"
#

これで起動してみる。

# /etc/init.d/cpufrequtils start
CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...done.
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 
600000
#

暇だからか一気に動作周波数が落ちた。