diff options
author | jeff <jeff@FreeBSD.org> | 2003-06-28 06:04:47 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-06-28 06:04:47 +0000 |
commit | bca293c00eeb94d68ea41c1d23521c22a82f2f68 (patch) | |
tree | fda822eccd76d55d02dccc2e4d72483acdc48613 /sys | |
parent | b235b00b730df3ff3b9c8e324a9f557cf961b1ce (diff) | |
download | FreeBSD-src-bca293c00eeb94d68ea41c1d23521c22a82f2f68.zip FreeBSD-src-bca293c00eeb94d68ea41c1d23521c22a82f2f68.tar.gz |
- 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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/sched_ule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 615588b..9d63982 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 */ |