freebsd 13 ryzen micro stutter
Rozhuk Ivan
rozhuk.im at gmail.com
Sat Apr 3 05:23:44 UTC 2021
On Wed, 31 Mar 2021 02:35:25 -0700
Alastair Hogge <agh at riseup.net> wrote:
> On 2021-03-28 16:09, Hans Petter Selasky wrote:
> > On 3/27/21 11:54 AM, Santiago Martinez wrote:
> >> Hi, i have the same output as @Nils B. If i run with steal =2 and
> >> dtrace the micro stutter doesn't happen but as soon as i stop the
> >> dtrace script it the stutters come back again.
> >
> > Here is a patch which you can try. Not sure if it helps.
> > https://reviews.freebsd.org/D29467
>
> Thanks Hans, this reduces jitter somewhat, but it still noticeable in
> Quake2. I left kern.sched.steal_thresh at 1.
>
I have no micro stutter with default kern.sched.steal_thresh=2, but I have set:
kern.sched.balance=0 # Enables the long-term load balancer
kern.sched.balance_interval=1000 # Average period in stathz ticks to run the long-term balancer
kern.sched.affinity=10000 # Number of hz ticks to keep thread affinity for
More information about the freebsd-current
mailing list