summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_ule.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-04-02 08:22:33 +0000
committerjeff <jeff@FreeBSD.org>2003-04-02 08:22:33 +0000
commit6a2f46d4e86c43a17259941bd80a893d4440b73b (patch)
tree067b2c2715365901bb97e696935573f49fe581b6 /sys/kern/sched_ule.c
parent036d55a8d6c6db1a3521f13fb15b46beed665686 (diff)
downloadFreeBSD-src-6a2f46d4e86c43a17259941bd80a893d4440b73b.zip
FreeBSD-src-6a2f46d4e86c43a17259941bd80a893d4440b73b.tar.gz
- Make the interactivity calculator decay faster.
- Make the pcpu estimator update faster.
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r--sys/kern/sched_ule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index f49b112..de4cd0a 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -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)
/*
OpenPOWER on IntegriCloud