- 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.
This commit is contained in:
Jeff Roberson 2003-06-28 06:04:47 +00:00
parent ce17576a80
commit e493a5d90c

View File

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