From bca293c00eeb94d68ea41c1d23521c22a82f2f68 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 28 Jun 2003 06:04:47 +0000 Subject: [PATCH] - Adjust the default maximum slice value to ~140ms. This has improved the nice distribution without significantly impacting interactive response. As a side effect it should also allow batch processes to run for a slightly longer period which will positively impact their performance. --- sys/kern/sched_ule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 615588b94332..9d639820dd1d 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -516,8 +516,8 @@ sched_setup(void *dummy) { int i; - slice_min = (hz/100); - slice_max = (hz/10); + slice_min = (hz/100); /* 10ms */ + slice_max = (hz/7); /* ~140ms */ mtx_lock_spin(&sched_lock); /* init kseqs */