CPU Frequency Scaling for Dell Dimension 3000

I use a Dell Dimension 3000 at home. It has a 2.8Ghz Pentium 4 so it generates a  bit of heat and power usage. I generally tend to enable CPU frequency scaling on any computer I use. So I went through the normal procedure I use. First:

kwame@amaterasu:~$ sudo dpkg-reconfigure gnome-applets

allow suid for cpufreq-selector
Select yes when I’m asked if I want to allow cpufreq-selector to run with root priveleges.

CPU Frequency Scaling Applet for GNOME
Then I add the CPU Frequency Scaling Monitor applet to the panel. I then select my desired scaling governor or speed and voila!

Not so with this computer. For some reason, it decided that “CPU frequency scaling is unsupported”. Turns out the kernel module for frequency scaling was not being loaded. So, it was off to the commandline:

kwame@amaterasu:~$ sudo modprobe p4_clockmod

Depending on your processor, you might have to change the module. See below.

Pentium 4, Celeron D, Pentium D, Celeron M : p4_clockmod
Pentium M, Core Duo, Core 2 Duo: speedstep_centrino
AMD K6: powernow_k6>
AMD K7 (Athlon, Duron, Sempron 32): powernow_k7
AMD K8 (Athlon 64, Turion 64, Sempron 64, Opteron 64): powernow_k8
None of above: acpi_cpufreq (may or may not work!)

Next is to load a module for your policy governor- which is a rule that determines how the scaling is carried out.

kwame@amaterasu:~$ sudo modprobe cpufreq_ondemand

There are 4 governors I know about – ondemand, performance, conservative and powersave. To load the appropriate module, you do a modprobe cpufreq_<nameofgovernor>.

Once that is done. I remove the CPU Frequency Scaling Monitor applet and add it again. Now that’s better.

One more thing to do. Use your favorite editor to open up /etc/modules and add the modules you used, each to a line and save. Now when you boot up, everything should be fine and dandy.

NB: The commands  were meant for a Dell Dimension 3000 but you should be to tweak them for your own setup. Remember,  ask for clarification when in doubt . You can probably get some more details from PolishLinux.

3 Responses to “CPU Frequency Scaling for Dell Dimension 3000”

  1. Wow! that is some complicated stuff. Why would you go through all that trouble to scale your CPU power on a desktop? Also when scaling can you increase the speed beyond the normal clock speed? Sort of like over-clocking?

  2. Carlos says:

    Now why would you want to scale your CPU on your desktop??? If it were a laptop, fine…but a desktop? Arghhhh!!!

  3. Kwame says:

    @Carlos: Mainly, because my rig is on most of the time, downloading stuff in the background And it does not need to run at full power when it’s doing this.

    @James: It’s not really complicated. I’m a power user (or at least I like to think I am) so that means I want a greater degree of control over how my computer functions. And to the best of my knowledge, I don’t know of any software method for overclocking (except the BIOS)

Leave a Reply