diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2005-11-23 08:02:59 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2005-11-23 08:02:59 +0000 |
commit | 319a8520491f8cffb4982572d824150e1857c383 (patch) | |
tree | a5d8ba3811a1c63e2cb158d0e9aa1cf69dec3a71 /usr.sbin/apmd/apmd.8 | |
parent | 2609c36d428c78eda3c28cef167ca0374334ebe7 (diff) |
permit apmd to run on systems without apm support
let apmd control hw.setperf manually or dynamically
tested by Chris Kuethe and beck@, 'get it in' deraadt@
Diffstat (limited to 'usr.sbin/apmd/apmd.8')
-rw-r--r-- | usr.sbin/apmd/apmd.8 | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8 index 3f7ff6892a9..a64bb0951fc 100644 --- a/usr.sbin/apmd/apmd.8 +++ b/usr.sbin/apmd/apmd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apmd.8,v 1.29 2005/11/15 01:19:56 jmc Exp $ +.\" $OpenBSD: apmd.8,v 1.30 2005/11/23 08:02:58 sturm Exp $ .\" .\" Copyright (c) 1995 John T. Kohl .\" All rights reserved. @@ -34,7 +34,7 @@ .Nd Advanced Power Management monitor daemon .Sh SYNOPSIS .Nm apmd -.Op Fl ademps +.Op Fl AadeHLmps .Op Fl f Ar devname .Op Fl S Ar sockname .Op Fl t Ar seconds @@ -61,6 +61,10 @@ with logging facility .Pp The options are as follows: .Bl -tag -width Ds +.It Fl A +Start +.Nm +in automatic performance adjustment mode. .It Fl a BIOS-initiated suspend or standby requests are ignored if the system is connected to line current and not running from @@ -78,6 +82,18 @@ Use of this flag unconditionally enables power status messages. .It Fl f Ar devname Specify an alternate device file name, .Ar devname . +.It Fl H +Start +.Nm +in manual performance adjustment mode, initialising +.Va hw.setperf +to 100. +.It Fl L +Start +.Nm +in manual performance adjustment mode, initialising +.Va hw.setperf +to 0. .It Fl m Do not disable power status messages issued by the APM driver. In normal operation these status messages are disabled as they are @@ -123,6 +139,26 @@ once per 10 minutes, but may be specified using the command-line flag. .El .Pp +In automatic performance adjustment mode, +.Nm +monitors the processor's idle time and adjusts +.Va hw.setperf +dynamically. +This keeps the processor at low speed whenever possible, reducing noise and +power consumption. +When idle time falls below 10%, the daemon raises +.Va hw.setperf +as much as necessary. +When idle time is above 30%, +.Nm +reduces +.Va hw.setperf +as much as possible. +By default +.Nm +does not change +.Va hw.setperf . +.Pp When a client requests a suspend or stand-by mode, .Nm does not wait for positive confirmation that the requested |