Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2010 08:42:29 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        David Xu <davidxu@freebsd.org>
Cc:        jan.grant@bristol.ac.uk, freebsd-stable@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable.
Message-ID:  <4C85D0C5.7060603@icyb.net.ua>
In-Reply-To: <4C818F65.3000603@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C85D0C5.7060603>