xref: /dragonfly/usr.sbin/powerd/powerd.8 (revision ef3ac1d1)
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
16The
17.Nm
18daemon monitors the CPU load and automatically adjusts the CPU
19frequency up or down.
20.Pp
21All CPUs will be set to their maximum frequency when the 1 second
22machine load exceeds 25% of one CPU.
23All CPUs will be set to their
24minimum frequency when the 10 second machine load drops below 12% of
25one CPU.
26.Pp
27The options are as follows:
28.Bl -tag -width ".Fl p Ar hysteresis"
29.It Fl d
30Debug option.
31Causes
32.Nm
33to not go to the background and prints some debug output to
34.Va stdout .
35.It Fl p Ar hysteresis
36Percent of the upper limit to subtract as an hysteresis value to scale
37down to the min frequency.
38.It Fl t
39Turbo mode.
40Disables switching to turbo mode as maximum frequency completely.
41Switching to turbo mode as maximum frequency is enabled by default,
42if the CPU supports it.
43.It Fl u Ar trigger_up
44Per CPU load limit in percent to force maximum frequency.
45.El
46.Sh DIAGNOSTICS
47The
48.Nm
49utility will exit with a non-zero code if the required sysctls are not
50present.
51.Sh SEE ALSO
52.Xr acpi 4 ,
53.Xr est 4 ,
54.Xr powernow 4
55.Sh HISTORY
56The
57.Nm
58command first appeared in
59.Dx 2.7 .
60.Sh BUGS
61I'm shocked I tell you, shocked that there might be bugs in this program!
62