mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
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.
This commit is contained in:
parent
0a133d67f3
commit
2f8ad6c087
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144883
@ -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 80% or lower.
|
||||
The default is 65% or lower.
|
||||
.It Fl v
|
||||
Verbose mode.
|
||||
Messages about power changes will be printed to stdout and
|
||||
|
@ -44,9 +44,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
#define DEFAULT_ACTIVE_PERCENT 80
|
||||
#define DEFAULT_ACTIVE_PERCENT 65
|
||||
#define DEFAULT_IDLE_PERCENT 90
|
||||
#define DEFAULT_POLL_INTERVAL 500
|
||||
#define DEFAULT_POLL_INTERVAL 500 /* Poll interval in milliseconds */
|
||||
|
||||
enum modes_t {
|
||||
MODE_MIN,
|
||||
|
Loading…
Reference in New Issue
Block a user