FedoraCore6 Pentium4の組み合わせ


<< トッ プページへ

概要

FedoraCore6とPentium4の組み合わせは良い事ありそうな?予感です。
Pentium4で周波数を負荷の重さに合わせてコントロールして爆音仕様のPCから進化させる事ができるようです。モバイルCPUではなくてOKです。 普通の Pentium4 で可能です。

Pentium4には、PentiumMやAthlon64の様に周波数変動機能が内蔵されていたようです。しかしWindowsでは、ドライバが提供さ れなかったために使用できなかったのです。ところがLinuxではこの機能を利用するためのモジュールが用意されていました。(cpuspeed)
さっそく試してみました...

実験したCPUは?

Intel Pentium4 3.2GHz 800MHzSystemBus 512KBL2Cache

■cpuspeed の設定

  1. 周波数変動を行うcpuspeedの設定をします。/etc/cpuspeed.confを以下のよ うに編集します。

$ vi /etc/cpuspeed.conf

VMAJOR=1
VMINOR=1

# uncomment this and set to the name of your CPUFreq module
#DRIVER="powernow-k7"
DRIVER="p4-clockmod"

# Let background (nice) processes speed up the cpu
OPTS="$OPTS -n"

# Add your favorite options here
#OPTS="$OPTS -s 0 -i 10 -r"
#OPTS="$OPTS -i 10 -p 60 90 -r"

# uncomment and modify this to check the state of the AC adapter
#OPTS="$OPTS -a /proc/acpi/ac_adapter/*/state"

# uncomment and modify this to check the system temperature
#OPTS="$OPTS -t /proc/acpi/thermal_zone/*/temperature 75"


  1. 動作させて確認します。
# modprobe p4-clockmod
# /etc/init.d/cpuspeed start

# cat /proc/cpuinfo でも良いのですが...

lm_sensorsをインストールすれば下記の確認スクリプトが動作します。

############################################################

#!/bin/csh
case1:
sleep 2;echo ""
echo "###################################"
date
echo ""
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
cat /proc/cpuinfo | grep "cpu MHz" | awk '{print $1,$2,$3,$4}'
/usr/bin/sensors | grep "VCore" | awk '{print $1,$2,$3}'
/usr/bin/sensors | grep "CPU Temp" | awk '{print $1,$2,$3}'
echo "###################################"
goto case1

############################################################


こんな感じで確認できます。(ハイパースレッティングなので2個あります。)

###################################

2007年 4月 29日 日曜日 07:08:31 JST

cpu MHz : 2000.000

cpu MHz : 2000.000

VCore: +1.42 V

CPU Temp: +28°C

###################################


 



Copyright©2005-2006  熊の巣  All Right Reserved.  管理人へメール