动态更改cpu速度的命令是那个来着?
:?::roll: cpufreq-set --helpcpufrequtils 0.4: cpufreq-set (C) Dominik Brodowski 2004
Report errors and bugs to [email protected], please.
Usage: cpufreq-set
Options:
-c CPU, --cpu CPU number of CPU where cpufreq settings shall be modified
-d FREQ, --min FREQ new minimum CPU frequency the governor may select
-u FREQ, --max FREQ new maximum CPU frequency the governor may select
-g GOV, --governor GOV new cpufreq governor
-f FREQ, --freq FREQ specific frequency to be set. Requires userspace
governor to be available and loaded
-h, --help Prints out this screen
Notes:
1. Omitting the -c or --cpu argument is equivalent to setting it to zero
2. The -f FREQ, --freq FREQ parameter cannot be combined with any other parameter
except the -c CPU, --cpu CPU parameter
3. FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz
by postfixing the value with the wanted unit name, without any space
(FREQuency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000). 好像 不大管事 :-( 2006年09月15日星期五下午16时36分45秒[root@m$ init.d]# cpuspeed --help
cpuspeed v1.2.1
This program monitors the system's idle percentage and reduces or raises the
CPUs' clock speeds and voltages accordingly to minimize power consumption
when idle and maximize performance when needed.This is the default.
The program may also optionally be configured to reduce the CPUs' clock
speeds if the temperature gets too high, NOT minimize their speeds if the
computer's AC adapter is disconnected or maximize their speeds when the AC
adapter is connected.
By default this program will manage every CPU found in the system.
Usage: cpuspeed [Options]
Options:
-d
Tells the process to daemonize itself (run in background).
-i <interval>
Sets the interval between idle percentage tests and possible speed
changes in tenths of a second (default is 20).
-n
Includes nice time as cpu time (off by default)
-p <fast up> <threshold>
Sets the CPU idle percentage thresholds.<fast up> is the idle
percentage below which a CPU will be set to the highest possible
speed.<threshold> is the idle percentage above which a CPU's
speed will be decreased and below which a CPU's speed will be
increased (defaults are 10 and 25).
-m <minimum speed>
Sets the minimum speed in KHz below which a CPU will not be set.
-M <maximum speed>
Sets the maximum speed in KHz above which a CPU will not be set.
-t <temp file> <maxtemp>
Sets the ACPI temperature file and the temperature at which CPUs
will be set to minimum speed.
-T <interval>
Sets the interval at which the temperature will be polled in
tenthsof a second (default is 10).
(Requires the '-t' option above.)
-a <AC file>
Sets the ACPI AC adapter state file and tells the program to set
the CPUs to minimum speed when the AC adapter is disconnected.
(This is the default but is changeable by the '-D' option below).
-A <interval>
Sets the interval at which the AC adapter state will be polled in
tenthsof a second (default is 50).
(Requires the '-a' option above.)
-C
Run at maximum speed when AC adapter is connected.
(Requires the '-a' option above.)
-D
Do NOT force minimum speed when AC adapter is disconnected.
(Requires the '-a' option above.)
-r
Restores previous speed on program exit.
-s <CPU>
Manage only a single CPU.<CPU> specifies the number of the CPU
to manage and is in the range 0 to (n-1) where 'n' is the number
of CPUs in the system.Without this option the program creates
copies of itself to manage every CPU in the system.
To have a CPU stay at the highest clock speed to maximize performance send
the process controlling that CPU the SIGUSR1 signal.
To have a CPU stay at the lowest clock speed to maximize battery life send
the process controlling that CPU the SIGUSR2 signal.
To resume having a CPU's clock speed dynamically scaled send the process
controlling that CPU the SIGHUP signal.
Author:
Carl Thompson - cet [at] carlthompson.net(copyright 2002 - 2005)
2006年09月15日星期五下午16时36分51秒[root@m$ init.d]#
可用,用-g参数设定userspace或性能优先,或节能优先
直接指定频率不太好用.
页:
[1]