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.
This commit is contained in:
Nate Lawson 2005-02-26 23:22:00 +00:00
parent 3d79cbd442
commit b3c9af5615
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142598
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <sys/resource.h>
#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 {