mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
- Make the interactivity calculator decay faster.
- Make the pcpu estimator update faster.
This commit is contained in:
parent
98c9b132d1
commit
5053d272c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112971
@ -142,7 +142,7 @@ struct td_sched *thread0_sched = &td_sched;
|
||||
* INTERACT_HALF: Convenience define, half of the interactivity range.
|
||||
* INTERACT_THRESH: Threshhold for placement on the current runq.
|
||||
*/
|
||||
#define SCHED_SLP_RUN_MAX ((hz * 30) << 10)
|
||||
#define SCHED_SLP_RUN_MAX ((hz * 2) << 10)
|
||||
#define SCHED_SLP_RUN_THROTTLE (10)
|
||||
#define SCHED_INTERACT_RANGE (100)
|
||||
#define SCHED_INTERACT_HALF (SCHED_INTERACT_RANGE / 2)
|
||||
@ -180,7 +180,7 @@ struct td_sched *thread0_sched = &td_sched;
|
||||
* SCHED_CPU_TICKS: Number of hz ticks to average the cpu usage across.
|
||||
*/
|
||||
|
||||
#define SCHED_CPU_TIME 60
|
||||
#define SCHED_CPU_TIME 10
|
||||
#define SCHED_CPU_TICKS (hz * SCHED_CPU_TIME)
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user