set your CPU clock in order to save "Money"!!!
Windoz user often install cpuinfo to idle their CPU clock. In other words, it can save your moneys...:-)
Windoz user often install cpuinfo to idle their CPU clock. In other words, it can save your moneys and descrease your box temperature.
So...How about Linux? It's easy if you use the Kernel-2.6 with support CPUs. What!? You haven't use kernel-2.6... Try it!!.
Be sure to add the acpi=on in your boot loader configuration. Just modprobe suitable module to realize the feature. For example, my box is a P4-2.4Ghz which is also in the supported list.
So I modprobe p4_clockmod and /sys/devices/system/cpu/cpu0/cpufreq will contain some setup files which allows you to scale the CPU clock.
cpuinfo_min_freq : this file shows the minimum operating
frequency the processor can run at(in kHz)
cpuinfo_max_freq : this file shows the maximum operating
frequency the processor can run at(in kHz)
scaling_driver : this file shows what cpufreq driver is
used to set the frequency on this CPU
scaling_available_governors : this file shows the CPUfreq governors
available in this kernel. You can see the
currently activated governor in
scaling_governor, and by "echoing" the name of another
governor you can change it. Please note
that some governors won't load - they only
work on some specific architectures or
processors.
scaling_min_freq and
scaling_max_freq show the current "policy limits" (in
kHz). By echoing new values into these
files, you can change these limits.
1: set max to 300Mhz
echo "300000" > scaling_max_freq
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping : 7
cpu MHz : 300.049
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips : 4767.74
In Debian, install the powernowd to esay setup the cpufreq.
See /usr/src/kernel-source-2.6.8/Documentation/cpufreq for details