Description:
------------
CPUSpeed dynamically controls CPUFreq, slowing down the CPU to conserve
power
and reduce heat when the system is idle, on battery power or overheating,
and
speeding up the CPU when the system is busy and more processing power is
needed.
Using CPUSpeed can significantly increase a laptop computer's battery life
and
significantly reduce the heat it generates while still allowing your system
to
perform at top speed when you need it.
Dependent Binaries:
-------------------
Cpuspeed files should be located in the following directories
/etc/sysconfig/cpuspeed, configuration file
/etc/init.d/cpuspeed, initialzation script
/usr/sbin/cpuspeed, cpuspeed program
Requirements : A version of the Linux kernel that supports CPU frequency /
voltage
scaling (CPUFreq) with both -
. A CPU capable of scaling its frequency and / or voltage.
. Support for the "userspace" CPUFreq governor
cpuspeed usage:
---------------
Usage: cpuspeed [Options]
Various options can be provided to change parameters like CPU core idle
percentage thresholds,
adapter polling interval, core frequency threshold etc.
Example:
cpuspeed -d -i 10 -t /proc/acpi/thermal_zone/THRM/temperature 79 \
-a /proc/acpi/ac_adapter/ACAD/state
This will have the program check (and possibly change) the CPU speed
once
every second and go to minimum CPU speed if the temperature goes above
79
or the AC adapter is disconnected.
Setup:
------
1. Check if cpuspeed is installed in the system.
2. If not, download the tarball from
http://carlthompson.net/Software/CPUSpeed/Download
3. Move the files to the location specified before.
Tests:
------
- Setting various interval values for idle percentage checks.
cpuspeed -i <interval>
Replace <interval> with different values
- Checking if fast up and threshold values of CPU frequency manager work
with varying idle
percentages.
cpuspeed -p <fast up> <threshold>
Change <fast up> & <threshold> values and monitor cpu idle percentages
- Testing to change maximum and minimum frequency values.
cpuspeed -m <minimum speed>
cpuspeed -M <maximum speed>
Change minimum and maximum speeds.
- Change the ACPI temperature thresholds & polling interval.
cpuspeed -t <temp file> <maxtemp> -T <interval>
Set the ACPI temperature file and set maximum temperature threshold and
polling interval
Regards,
Ankit Patel
--
Ankit Patel
B.Tech. IIIrd year
Computer Science & Engineering
IIT Roorkee
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel