From 2347ac87e80fc735b36106e5fb7e78b5552fd932 Mon Sep 17 00:00:00 2001 From: njl Date: Sat, 26 Feb 2005 23:22:00 +0000 Subject: 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. --- usr.sbin/powerd/powerd.8 | 4 ++-- usr.sbin/powerd/powerd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/powerd') diff --git a/usr.sbin/powerd/powerd.8 b/usr.sbin/powerd/powerd.8 index 80cf607..1f17e76 100644 --- a/usr.sbin/powerd/powerd.8 +++ b/usr.sbin/powerd/powerd.8 @@ -73,7 +73,7 @@ to use while on battery power. Specifies the CPU idle percent level when adaptive mode should begin to degrade performance to save power. -The default is 75% or higher. +The default is 90% or higher. .It Fl n Ar mode Selects the .Ar mode @@ -86,7 +86,7 @@ The default is 500 ms. Specifies the CPU idle percent level where adaptive mode should consider the CPU running and increase performance. -The default is 50% or lower. +The default is 80% or lower. .It Fl v Verbose mode. Messages about power changes will be printed to stdout and diff --git a/usr.sbin/powerd/powerd.c b/usr.sbin/powerd/powerd.c index 932996a..54a19f3 100644 --- a/usr.sbin/powerd/powerd.c +++ b/usr.sbin/powerd/powerd.c @@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$"); #include #include -#define DEFAULT_ACTIVE_PERCENT 50 -#define DEFAULT_IDLE_PERCENT 75 +#define DEFAULT_ACTIVE_PERCENT 80 +#define DEFAULT_IDLE_PERCENT 90 #define DEFAULT_POLL_INTERVAL 500 enum modes_t { -- cgit v1.1