Re: freebsd 13 ryzen micro stutter

From: Rozhuk Ivan <rozhuk.im_at_gmail.com>
Date: Sat, 3 Apr 2021 08:23:39 +0300
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 _at_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
Received on Sat Apr 03 2021 - 03:23:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC