-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathafreqconfig
More file actions
71 lines (57 loc) · 2.33 KB
/
Copy pathafreqconfig
File metadata and controls
71 lines (57 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# sample config for the afreq daemon
# the thresholds are the MINIMUM cpu usage percentage at which the setting for governor or boost
# will be applied, these values are ONLY INTEGERS WITHOUT the percentage sign.
# the minimum threshold to activate the stage 2 governor cannot be lower than 5% cpu usage
# the minimum threshold to activate the stage 3 governor cannot be lower or equal than the minimum
# for the stage 2 governor, it also cannot be more than 95% cpu usage.
# similarely the turbo boost is capped at 5% minimum and 95% maximum for the threshold value.
# setting the log level of the daemon
# possible values:
# 0 - none
# 1 - info
# 2 - err
# 3 - debug
#LOG_LEVEL="none"
# setting the interval to check the system
# and adjust frequency. SECONDS INTEGER
#INTERVAL=5
# backend for calulating cpu usage
# possible options:
# proc - reads directly from /proc/stat, useful when vmstat is not available
# vmstat - the default backend
# CPUSTAT_BACKEND=vmstat
# algorithm for calculating the scalation of the dynamic polling
# possible options:
# none - disable dynamic polling, polling will continue to run at the starting rate of 500ms
# linear - simply increases or decreases the polling rate by 100ms
# exponential - doubles or halves the polling rate, useful for some setups
# threehalves - like the exponential but using 1.5 instead of 2
# SCALING_ALGO=linear
# the number of stable cycles before the dynamic scaling increases the time between polling cycles
# a cycle is considered stable if the cpu governor setting did no change that cycle.
# STABLE_CYCLE_COUNT=5
# setting activation thresholds on AC
# PERCENTAGE INTEGER
#AC_THRESH_ST2=10
#AC_THRESH_ST3=60
#AC_THRESH_BOOST=25
# setting activation thresholds on Battery
# PERCENTAGE INTEGER
#BAT_THRESH_ST2=40
#BAT_THRESH_ST3=70
#BAT_THRESH_BOOST=35
# setting governors for stages 1 to 3
# available options are: powersave conservative ondemand schedutil performance
# ac governors
# default values
#GOV_AC_ST1=schedutil
#GOV_AC_ST2=ondemand
#GOV_AC_ST3=performance
# battery governors
# default values
#GOV_BAT_ST1=powersave
#GOV_BAT_ST2=conservative
#GOV_BAT_ST3=performance
# werether to run the ac and bat state hooks, accepted values are ints [0, 1], the case insensitive
# strigns [yes, true, no, false], any other string including empty is considered false.
#RUN_HOOKS=no