| * |
CPU Frequency scaling needs to be turned on |
| * |
CPU Frequency scaling needs to be turned on |
| * |
/proc/cpufreq interface (doesn't matter if on or off, I use it off) |
| * |
Default CPUFreq governor (I set it to userspace) |
| * |
performance governor is set to yes NOT module (module is fine but the module will need to be loaded at boot time and I "think" it is called gov-performance and this can be done by adding the line gov-performance to /etc/modprobe.preload) |
| * |
powersave governor is set to yes NOT module(module is fine but the module will need to be loaded at boot time and I "think" it is called gov-powersave and this can be done by adding the line gov-powersave to /etc/modprobe.preload) |
| * |
my userspace governor for userspace frequency scaling is set |
| * |
/proc/sys/cpu interface is not set for me but I think it'll work even if set |
| * | CPU frequency table helper is set as a module and loaded with the module chosen for the particular processor |
| * |
now, one needs to choose the proper module to control their cpu. I have a PIV-M based laptop so I chose the Intel Speedstep on ICH-M chipset and the Intel Pentium 4 clock modulator although I only load the Intel Speedstep module at boot time by adding a line to my /etc/modprobe.preload file which states speedstep-ich |
| cpuinfo_max_freq |
- what the maximum cpu speed is in kilohertz (not configurable) |
| cpuinfo_min_freq | - what the minimum cpu speed is in kilohertz (not configurable) |
| scaling_available_governors | -the available governors to throttle your speed and should now contain powersave userspace performance (not configurable) |
| scaling_driver | -the name of the module that is
doing the throttling (for me it is speedstep-ich). Configurable
by loading the correct module. |
| scaling_governor | -configurable governor being
used and it will be either powersave, userspace, OR performance.
If it is userspace then the user can issue commands to the
scaling_setspeed to throttle the cpu by kilohertz. If cpudyn is
working correctly then it will issue either the powersave or
performance command to the scaling_setspeed file which then sets your
cpu speed to either the maximum or minimum frequency defined by
scaling_max_freq or scaling_min_freq. |
| scaling_min_freq | -configurable minimum frequency |
| scaling_max_freq | -configurable maximum frequency |
| scaling_setspeed | -configurable speed when
throttling BUT will not appear if cpudyn is working and only appears if
the scaling_governor is set to userspace |
| cpudyn | - located in /etc/init.d and can be run upon bootup by linking to it in your /etc/rcX.d directory (more below) |
| cpudyn |
- located in /etc/sysconfig and
contain default parameters and are called by /etc/init.d/cpudyn when
run - configurable parameters |
| cpudynd |
- located in /usr/sbin/
and called by the /etc/init.d/cpudyn after it is passed the parameters
that are set by /etc/sysconfig/cpudyn which, by default, sets the -d
parameter and loads this daemon (see below) |
| -acpi |
- do not use frequency scaling,
use ACPI throttling if available (I added this option to my
/etc/sysconfig/cpudyn file BUT it causes the daemon to stop working -
apparantly some acpi problems exist) |
| -asus |
- Enable Asus laptop led display |
| -d | - Daemonize process (run in background) |
| -h <dev0[,dev1]...> | - Specified the disks to
spindown, example: -h /dev/hda,/dev/hdc If this option is specified, but not -t, the default is 120 secs) |
| -i <interval> | - Check period in 1/10 seconds. Alternative to -ms. |
| -l <state> |
- Specifies to which throttling state the cpu is set when
speeding down (default is 3) |
| -minf
<min> |
- Set the minimum CPU's frequency in a value between 0.0 and 1.0 |
| -ms <interval> | - Check period in miliseconds. Alternative to -i. |
| -nice |
- Count nice CPU usage as load (default = no) |
| -p <up> <down> | - Set CPU idle:work ratios to speed up or down CPU (default is 0.5 0.9) |
| -t <timeout> | - Set the timeout to put the disk in standby mode if there were no io during that period Not_ activated by default /dev/hda is assumed if not specified option -h) If option -h is specified, but not -t, the default is 120 secs) |
| -X |
- Just exit after initial checkings |
| -V |
- just print version and exit |
| -?,
--help |
- print this help |