4 |
- |
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.
|
|
|
13 |
# default value: empty (try to auto-detect/use built-in)
|
|
|
14 |
DRIVER=
|
|
|
15 |
|
|
|
16 |
### GOVERNOR ###
|
|
|
17 |
# Which scaling governor to use
|
|
|
18 |
# Details on scaling governors for your cpu(s) can be found in
|
|
|
19 |
# cpu-freq/governors.txt, part of the kernel-doc package
|
|
|
20 |
# NOTES:
|
|
|
21 |
# - The GOVERNOR parameter is only valid on centrino, powernow-k8 (amd64)
|
|
|
22 |
# and acpi-cpufreq platforms, other platforms that support frequency
|
|
|
23 |
# scaling always use the 'userspace' governor.
|
|
|
24 |
# - Using the 'userspace' governor will trigger the cpuspeed daemon to run,
|
|
|
25 |
# which provides said user-space frequency scaling.
|
|
|
26 |
# default value: empty (defaults to ondemand on centrino, powernow-k8,
|
|
|
27 |
# and acpi-cpufreq systems, userspace on others)
|
|
|
28 |
GOVERNOR=
|
|
|
29 |
|
|
|
30 |
### FREQUENCIES ###
|
|
|
31 |
# NOTE: valid max/min frequencies for your cpu(s) can be found in
|
|
|
32 |
# /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
|
|
|
33 |
# on systems that support frequency scaling (though only after the
|
|
|
34 |
# appropriate drivers have been loaded via the cpuspeed initscript).
|
|
|
35 |
# maximum speed to scale up to
|
|
|
36 |
# default value: empty (use cpu reported maximum)
|
|
|
37 |
MAX_SPEED=
|
|
|
38 |
# minimum speed to scale down to
|
|
|
39 |
# default value: empty (use cpu reported minimum)
|
|
|
40 |
MIN_SPEED=
|
|
|
41 |
|
|
|
42 |
### SCALING THRESHOLDS ###
|
|
|
43 |
# Busy percentage threshold over which to scale up to max frequency
|
|
|
44 |
# default value: empty (use governor default)
|
|
|
45 |
UP_THRESHOLD=
|
|
|
46 |
# Busy percentage threshold under which to scale frequency down
|
|
|
47 |
# default value: empty (use governor default)
|
|
|
48 |
DOWN_THRESHOLD=
|
|
|
49 |
|
|
|
50 |
### NICE PROCESS HANDLING ###
|
|
|
51 |
# Let background (nice) processes speed up the cpu
|
|
|
52 |
# default value: 0 (background process usage can speed up cpu)
|
|
|
53 |
# alternate value: 1 (background processes will be ignored)
|
|
|
54 |
IGNORE_NICE=0
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
#####################################################
|
|
|
58 |
########## HISTORICAL CPUSPEED CONFIG BITS ##########
|
|
|
59 |
#####################################################
|
|
|
60 |
VMAJOR=1
|
|
|
61 |
VMINOR=1
|
|
|
62 |
|
|
|
63 |
# Add your favorite options here
|
|
|
64 |
#OPTS="$OPTS -s 0 -i 10 -r"
|
|
|
65 |
|
|
|
66 |
# uncomment and modify this to check the state of the AC adapter
|
|
|
67 |
#OPTS="$OPTS -a /proc/acpi/ac_adapter/*/state"
|
|
|
68 |
|
|
|
69 |
# uncomment and modify this to check the system temperature
|
|
|
70 |
#OPTS="$OPTS -t /proc/acpi/thermal_zone/*/temperature 75"
|