[Bug 265337] There were annoying microfreezes lasting 0.1-0.2 sec at any work: scrolling through texts, watching videos, playing audio, even moving the window across the screen gave such delays.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Jul 2022 09:23:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265337

            Bug ID: 265337
           Summary: There were annoying microfreezes lasting 0.1-0.2 sec
                    at any work: scrolling through texts, watching videos,
                    playing audio, even moving the window across the
                    screen gave such delays.
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: wocson@gmail.com

FreeBSD wcsn 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212
GENERIC amd64
CPU: AMD Ryzen 5 3600 6-Core Processor (3600.10-MHz K8-class CPU)
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]'

Have last KDE Plasma, amdgpu, mesa, drm.

There were annoying microfreezes lasting 0.1-0.2 sec at any work: scrolling
through texts, watching videos, playing audio, even moving the window across
the screen gave such delays.

Accidentally came across a mention of the key: kern.sched.steal_thresh.

I write to sysctl.conf:

kern.sched.steal_thresh=1
machdep.idle=mwait

Setting it to 0 or 1 (default is 2) sysctl kern.sched.steal_thresh=0(1)
completely eliminated all microphryses.

-- 
You are receiving this mail because:
You are the assignee for the bug.