Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2018 23:20:16 +0200
From:      EBFE <ebfe@inbox.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: kern.sched.quantum: Creepy, sadistic scheduler
Message-ID:  <20180417232016.2008438c.ebfe@inbox.ru>
In-Reply-To: <CAOjFWZ47YhPFCxxhhxozUTRXY5ywPEpKrtJNaULTv37r5CFj5w@mail.gmail.com>
References:  <pa17m7$82t$1@oper.dinoex.de> <9FDC510B-49D0-4722-B695-6CD38CA20D4A@gmail.com> <8cfdb8a3-86a0-17ba-1e41-ff1912a30ee9@m5p.com> <20180417065617.GA95646@klump.hjerdalen.lokalnett> <CAN6yY1s7MafF18fPxgRiJVusxcbwEfK%2BGF8dKGedhXE_EUVbJA@mail.gmail.com> <CAOjFWZ47YhPFCxxhhxozUTRXY5ywPEpKrtJNaULTv37r5CFj5w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Apr 2018 09:05:48 -0700
Freddie Cash <fjwcash@gmail.com> wrote:

> # Tune for desktop usage
> kern.sched.preempt_thresh=3D224
>=20
> =E2=80=8BWorks quite nicely on a 4-core AMD Phenom-II X4 960T Processor
> (3010.09-MHz K8-class CPU) running KDE4 using an Nvidia 210 GPU.

For interactive tasks, there is a "special" tunable:
% sysctl kern.sched.interact
kern.sched.interact: 10 # default is 30
% sysctl -d kern.sched.interact
kern.sched.interact: Interactivity score threshold

reducing the value from 30 to 10-15 keeps your gui/system responsive,
even under high load.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180417232016.2008438c.ebfe>