- 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:
parent
6a27aa6b59
commit
de4acd13c4
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user