mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
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:
parent
3d79cbd442
commit
b3c9af5615
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142598
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user