Date: Tue, 07 Sep 2010 10:34:15 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: jhell <jhell@DataIX.net> Cc: freebsd-stable@freebsd.org, David Xu <davidxu@freebsd.org> Subject: Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable. Message-ID: <4C85EAF7.3040803@icyb.net.ua> In-Reply-To: <4C853B91.4090601@DataIX.net> References: <alpine.BSF.2.00.1009011357050.5858@tribble.ilrt.bris.ac.uk> <i5lr29$9ei$1@dough.gmane.org> <alpine.BSF.2.00.1009021000110.50312@tribble.ilrt.bris.ac.uk> <4C7F7C0F.8080004@icyb.net.ua> <alpine.BSF.2.00.1009021133330.5858@tribble.ilrt.bris.ac.uk> <4C818F65.3000603@freebsd.org> <4C853B91.4090601@DataIX.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C85EAF7.3040803>