- Make the interactivity calculator decay faster.

- Make the pcpu estimator update faster.
This commit is contained in:
Jeff Roberson 2003-04-02 08:22:33 +00:00
parent 98c9b132d1
commit 5053d272c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112971

View File

@ -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)
/*