Date: Wed, 14 Jul 2021 16:47:45 +0100 From: RW via freebsd-hackers <freebsd-hackers@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: Periodic rant about SCHED_ULE Message-ID: <20210714164745.0128ea15@gumby.homeunix.com> In-Reply-To: <20210708101907.0be3a3c2@rimwks.local> References: <13445948-7804-20b4-4ae6-aaac14d11e87@m5p.com> <20210708101907.0be3a3c2@rimwks.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Jul 2021 10:19:07 +0300 Rozhuk Ivan wrote: > and sysctl tunings on desktop only: > > # SCHEDULER > kern.sched.steal_thresh=1 > kern.sched.balance=0 > kern.sched.balance_interval=1000 > kern.sched.affinity=10000 You missed out kern.sched.preempt_thresh=224 (perhaps because it's so well known). In my experience this makes a big difference for desktop use. If I set that and build on tmpfs, to minimise the effect of I/O contention, I don't see any discernible effect on Xfce when building world with -j4. This is on a bottom of the range i5 from 9 years ago. It's not particularly fast. I think the default only allows preemption by real-time and kernel threads.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210714164745.0128ea15>