Merge branch 'vendor/OPENSSL'
[dragonfly.git] / usr.sbin / powerd / powerd.8
1 .\" (c) Copyright 2010 by Matthew Dillon and Dima Ruban.  Permission to
2 .\"    use and distribute based on the DragonFly copyright.
3 .\"
4 .Dd October 28, 2014
5 .Dt POWERD 8
6 .Os
7 .Sh NAME
8 .Nm powerd
9 .Nd simple ACPI based CPU/power control
10 .Sh SYNOPSIS
11 .Nm
12 .Op Fl dt
13 .Op Fl p Ar hysteresis
14 .Op Fl u Ar trigger_up
15 .Sh DESCRIPTION
16 The
17 .Nm
18 daemon monitors the CPU load and automatically adjusts the CPU
19 frequency up or down.
20 .Pp
21 All CPUs will be set to their maximum frequency when the 1 second
22 machine load exceeds 25% of one CPU.
23 All CPUs will be set to their
24 minimum frequency when the 10 second machine load drops below 12% of
25 one CPU.
26 .Pp
27 The options are as follows:
28 .Bl -tag -width ".Fl p Ar hysteresis"
29 .It Fl d
30 Debug option.
31 Causes
32 .Nm
33 to not go to the background and prints some debug output to
34 .Va stdout .
35 .It Fl p Ar hysteresis
36 Percent of the upper limit to subtract as an hysteresis value to scale
37 down to the min frequency.
38 .It Fl t
39 Turbo mode.
40 Disables switching to turbo mode as maximum frequency completely.
41 Switching to turbo mode as maximum frequency is enabled by default,
42 if the CPU supports it.
43 .It Fl u Ar trigger_up
44 Per CPU load limit in percent to force maximum frequency.
45 .El
46 .Sh DIAGNOSTICS
47 The
48 .Nm
49 utility will exit with a non-zero code if the required sysctls are not
50 present.
51 .Sh SEE ALSO
52 .Xr acpi 4 ,
53 .Xr est 4 ,
54 .Xr powernow 4
55 .Sh HISTORY
56 The
57 .Nm
58 command first appeared in
59 .Dx 2.7 .
60 .Sh BUGS
61 I'm shocked I tell you, shocked that there might be bugs in this program!