Tuning the scheduler? Desktop with a CPU-intensive task becomes
rapidly unusable.
Andriy Gapon
avg at icyb.net.ua
Tue Sep 7 05:42:33 UTC 2010
on 04/09/2010 03:14 David Xu said the following:
> I think sysctl kern.sched.preempt_thresh is too low, default is only 64. I
> always tune
> it up to 200 on my desktop machine which is running gnome and other GUI
> applications,
> for a heavy GUI deskkop, I would tune it up to 224 to get better result.
And turns out I have this in my sysctl.conf :-)
# should give more responsivness on desktop
# suggested by David Xu <davidxu at freebsd.org>
kern.sched.preempt_thresh=220
Apparently I have it for so long in there that I forgot that I do.
Thanks again!
--
Andriy Gapon
More information about the freebsd-stable
mailing list