Tuning the scheduler? Desktop with a CPU-intensive task becomes
rapidly unusable.
Andriy Gapon
avg at icyb.net.ua
Tue Sep 7 07:34:20 UTC 2010
on 06/09/2010 22:05 jhell said the following:
> On 09/03/2010 20:14, David Xu wrote:
>> 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.
>>
>
> For reference how did you arrive at 224 for a result ?
As Jeremy has already discovered, take a look at sys/sys/priority.h, especially
PRI_MIN_IDLE.
--
Andriy Gapon
More information about the freebsd-stable
mailing list