Tuxdyn, by Suki_

cpudyn

Homepage: http://mnm.uib.es/gallir/cpudyn/
Copyright: Ricardo Galli

Licence: GPL

Version: 1.0.1
Last modified: Mar 19 2005 11:13:35 GMT
Downloads: cpudyn-1.0.1.tgz: size: 32 Kbytes
FAQ (Last change: Mar 20 2005 10:39 GMT) (Versión en castellano)
Freshmeat page
Source tree
Changelog

cpudyn on SUSE in Bulma (English)
Artículo en Bulma (Spanish)
Steps to getting CPUDYN and CPUDYND to work on your system (English)

CPU Dynamic Frecuency Control

This program control the speed in Intel SpeedStep, Pentium 4 Mobile, PowerPC, AMD and Transmeta LongRun and any processor supported by the cpufreq Linux driver (check if /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor or /proc/cpufreq exist).

Tested with 2.4, Pentium 3 Speedstep Laptop (Dell Latitude), Pentium 4 Mobile Laptop (Dell Inspiron), AMD Power Now, Apple iBook, IBM Thinkpad. cpudyn is just a user space program, so it will work on every processor supported by the kernel's cpufreq driver.

I was tired of those complex programs that do everything but simply reduce the processor's speed when it's not needed and increase it to the maximun when it's really needed, as soon as possible.

So, I did it. It's not full of features (yes, I'll do it anyway) but it does very well what it should do.

By using cpudyn you should not not notice any performance impact, nevertheless you should save battery consumption and reduce the temperature of your laptop.

Disk Standby

Tired of playing with hdparm and /etc/apm to save battery in your laptop or to make your desktop more quiet? Don't waste more time, you've found the solution :-)

Since version 0.2.0, the program is also able to put the computer disks in standby mode, if a given period has passed without any I/O operation.

It works very well even with Journaled File Systems such as Ext3, XFS and ReiserFS.

Options "-t timeout" and "-h dev0[,dev1]..." control this behaviour. It is __not__ activated by default, -t _or_ -h activated. Please check the usage and edit /etc/init.d/cpudyn if you need to activate it at startup time.

This feature works also with Linux 2.4.X and 2.5.X since version 0.30

Example:

     cpudynd -i 1 -t 60 -h /dev/hda,/dev/hdc

Installation

Debian [Sid/Sarge] users, only apt-get install cpudyn is required (thanks to Celso González).

Gentoo users, only emerge sys-apps/cpudyn is required (thanks to Robin H. Johnson).

Mandrake users, only urpmi cpudyn is required (thanks to Blindauer Emmanuel).

Building and installing from sources

Just do:

  make install

It compiles and installs the daemon in /usr/sbin/cpudynd, installs the cpudyn script in /etc/init.d and finally it does an /etc/init.d/cpudyn start

For Debian users:

  make install-debian

it will also setup the start and kill symbolic links in /etc/rcX.d

If you want to spindown disks, edit /etc/init.d/cpudyn.

NOTE: since version 0.2 it behaves similarly when connected or not to the AC. But, is there any difference at all for most cases? You want your konqueror running as fast as always :-)

Last modified: Sun, 20 Mar 2005 10:39:50 GMT