| 1 |
# /etc/sysconfig/cpuspeed |
| 2 |
# |
| 3 |
# This configuration file controls the behavior of both the |
| 4 |
# cpuspeed daemon and various cpufreq modules. |
| 5 |
# For the vast majority of users, there shouldn't be any need to |
| 6 |
# alter the contents of this file at all. By and large, frequency |
| 7 |
# scaling should Just Work(tm) with the defaults. |
| 8 |
|
| 9 |
### DRIVER ### |
| 10 |
# Your CPUFreq driver module |
| 11 |
# Note that many drivers are now built-in, rather than built as modules, |
| 12 |
# so its usually best not to specify one. The most commonly-needed driver |
| 13 |
# module these days is 'p4-clockmod', however, in most cases, it is not |
| 14 |
# recommended for use. See: http://lkml.org/lkml/2006/2/25/84 |
| 15 |
# default value: empty (try to auto-detect/use built-in) |
| 16 |
DRIVER= |
| 17 |
|
| 18 |
### GOVERNOR ### |
| 19 |
# Which scaling governor to use |
| 20 |
# Details on scaling governors for your cpu(s) can be found in |
| 21 |
# cpu-freq/governors.txt, part of the kernel-doc package |
| 22 |
# NOTES: |
| 23 |
# - The GOVERNOR parameter is only valid on centrino, powernow-k8 (amd64) |
| 24 |
# and p4-clockmod platforms, other platforms that support frequency |
| 25 |
# scaling always use the 'userspace' governor. |
| 26 |
# - Using the 'userspace' governor will trigger the cpuspeed daemon to run, |
| 27 |
# which provides said user-space frequency scaling. |
| 28 |
# default value: empty (defaults to ondemand on centrino, powernow-k8, |
| 29 |
# and p4-clockmod systems, userspace on others) |
| 30 |
GOVERNOR= |
| 31 |
|
| 32 |
### FREQUENCIES ### |
| 33 |
# NOTE: valid max/min frequencies for your cpu(s) can be found in |
| 34 |
# /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies |
| 35 |
# on systems that support frequency scaling (though only after the |
| 36 |
# appropriate drivers have been loaded via the cpuspeed initscript). |
| 37 |
# maximum speed to scale up to |
| 38 |
# default value: empty (use cpu reported maximum) |
| 39 |
MAX_SPEED= |
| 40 |
# minimum speed to scale down to |
| 41 |
# default value: empty (use cpu reported minimum) |
| 42 |
MIN_SPEED= |
| 43 |
|
| 44 |
### SCALING THRESHOLDS ### |
| 45 |
# Busy percentage threshold over which to scale up to max frequency |
| 46 |
# default value: empty (use governor default) |
| 47 |
UP_THRESHOLD= |
| 48 |
# Busy percentage threshold under which to scale frequency down |
| 49 |
# default value: empty (use governor default) |
| 50 |
DOWN_THRESHOLD= |
| 51 |
|
| 52 |
### NICE PROCESS HANDLING ### |
| 53 |
# Let background (nice) processes speed up the cpu |
| 54 |
# default value: 0 (background process usage can speed up cpu) |
| 55 |
# alternate value: 1 (background processes will be ignored) |
| 56 |
IGNORE_NICE=0 |
| 57 |
|
| 58 |
|
| 59 |
##################################################### |
| 60 |
########## HISTORICAL CPUSPEED CONFIG BITS ########## |
| 61 |
##################################################### |
| 62 |
VMAJOR=1 |
| 63 |
VMINOR=1 |
| 64 |
|
| 65 |
# Add your favorite options here |
| 66 |
#OPTS="$OPTS -s 0 -i 10 -r" |
| 67 |
|
| 68 |
# uncomment and modify this to check the state of the AC adapter |
| 69 |
#OPTS="$OPTS -a /proc/acpi/ac_adapter/*/state" |
| 70 |
|
| 71 |
# uncomment and modify this to check the system temperature |
| 72 |
#OPTS="$OPTS -t /proc/acpi/thermal_zone/*/temperature 75" |