Commit Graph

14 Commits

Author SHA1 Message Date
joel
2d6cdc2b7e MFC: s/5.5/6.0/ in HISTORY section. 2006-01-24 17:02:39 +00:00
delphij
68b438857e MFC pidfile(3) function, and convert several applications to make use
of it.

Bump __FreeBSDversion for the MFC.

Discussed with:	pjd
2006-01-15 17:50:38 +00:00
njl
548dc54d84 MFC: Warn, don't error out when we temporarily can't set the frequency.
Accept "maximum" and "minimum" keywords.  Set signals in the right place.

Approved by:	re (scottl)
2005-10-25 20:05:44 +00:00
njl
3bcc2cbd34 MFC: ignore non-useful cpufreq levels and change the powerd algorithm to
one that saves more power with possibly more performance loss.  This is
kern_cpu.c:1.20,1.21 and powerd.c:1.9

Approved by:	re (scottl)
2005-09-06 18:01:44 +00:00
njl
c388e8b5ba MFC: Bring up to HEAD. Notify user if they don't have permission to run
powerd and don't exit if the error is EPERM.

Approved by:	re (kensmith)
2005-07-29 16:34:05 +00:00
ru
6b05ae87c7 Fixed markup.
Approved by:	re
2005-06-16 20:01:43 +00:00
njl
ef01f96275 Drop the default running value to 60% from 80%. Testing shows that we
cycle too much, wasting power if we trigger a jump to full speed too
easily.  CPU-bound tasks quickly push idle below this level.
2005-04-10 20:42:55 +00:00
njl
46d7cfdb4b Add support for recording the total energy used (in joules) when in
verbose mode.  This is useful for profiling new adaptive algorithms
in performance (via time(1)) and total energy consumed for a given
workload.
2005-04-10 19:02:29 +00:00
brueffer
c50bb2eb16 man page -> manual page 2005-02-27 15:49:07 +00:00
njl
a59663d2e5 Move the AC line checking code into its own function, reducing the
ifdef __i386__ stuff for APM.  Tested as working correctly on i386 and
compile-tested on sparc64.
2005-02-27 01:58:49 +00:00
marcel
3ebf74b8a8 Unbreak !i386 platforms. Only i386 has APM, so don't try to fallback
on APM on other platforms.
2005-02-27 00:23:19 +00:00
njl
2347ac87e8 Change the default levels for adaptive mode to 80% and 90%. On a system
with moderate IO going on, system usage can hover around 65-77% even
though it would benefit from higher performance.  Typically, only truly
idle systems pass the 90% mark so only demote then.
2005-02-26 23:22:00 +00:00
njl
91e6bfeedc Remove SRCS line since it isn't needed for single-source programs.
Pointed out by:	ru
2005-02-26 22:50:25 +00:00
njl
3960f7cce3 Import powerd(8), a utility for managing power consumption. Currently, it
just uses cpufreq(4) but in the future it should also do things like spin
down disks.  This is based on the work by Colin Percival (called "estctrl").
2005-02-26 21:17:31 +00:00