source: projects/specs/trunk/c/cpuspeed/cpuspeed.conf @ 5507

Revision 5507, 3.0 KB checked in by daisuke, 12 years ago (diff)

support kernel-3.x

Line 
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)
16DRIVER=
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 acpi-cpufreq systems, userspace on others)
30GOVERNOR=
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)
39MAX_SPEED=
40# minimum speed to scale down to
41# default value: empty (use cpu reported minimum)
42MIN_SPEED=
43
44### SCALING THRESHOLDS ###
45# Busy percentage threshold over which to scale up to max frequency
46# default value: empty (use governor default)
47UP_THRESHOLD=60
48# Busy percentage threshold under which to scale frequency down
49# default value: empty (use governor default)
50DOWN_THRESHOLD=40
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)
56IGNORE_NICE=0
57
58
59#####################################################
60########## HISTORICAL CPUSPEED CONFIG BITS ##########
61#####################################################
62VMAJOR=1
63VMINOR=1
64
65# Sets the polling interval to change speed more frequently
66#OPTS="$OPTS -i 3"
67
68# Restore previous speed on program exit.
69#OPTS="$OPTS -r"
70
71# Add your favorite options here
72#OPTS="$OPTS "
73
74# uncomment and modify this to check the state of the AC adapter
75#if [ -f "/proc/acpi/ac_adapter/*/state" ]; then
76#    OPTS="$OPTS -a /proc/acpi/ac_adapter/*/state -D"
77#fi
78
79# uncomment and modify this to check the system temperature
80#THERMAL_ZONE=`ls /proc/acpi/thermal_zone/*/temperature | head -1`
81#if [ -f $THERMAL_ZONE ]; then
82#    OPTS="$OPTS -t $THERMAL_ZONE 75"
83#fi
Note: See TracBrowser for help on using the repository browser.