Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 09:34:33 +0000
From:      myfreeweb <greg@unrelenting.technology>
To:        freebsd-current@freebsd.org, Michael Gmelin <freebsd@grem.de>, monochrome <monochrome@twcny.rr.com>
Subject:   Re: freebsd 13 ryzen micro stutter
Message-ID:  <ED533759-D326-45D5-8AE2-51CB10763A1E@unrelenting.technology>
In-Reply-To: <20210323101146.18c9a969@bsd64.grem.de>
References:  <d793c8b7-e0e2-e0d9-3ecd-923134d15bf3@twcny.rr.com> <20210323101146.18c9a969@bsd64.grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On March 23, 2021 9:11:46 AM UTC, Michael Gmelin <freebsd@grem=2Ede> wrote=
:
>
>
>On Mon, 22 Mar 2021 23:50:52 -0400
>monochrome <monochrome@twcny=2Err=2Ecom> wrote:
>
>> After about 8 months of struggling to narrow this down I did another=20
>> search and saw this:
>>=20
>> https://www=2Ereddit=2Ecom/r/freebsd/comments/lc8fwo/freebsd_13_vega_64=
_micro_stutter_in_x/
>>=20
>> I haven't seen this come up here so I thought I would bring it up=2E
>>=20
>> My story started sometime before around August last year when synergy=
=20
>> started getting really annoying with stuttering=2E Pretty sure it
>> wasn't like that when I first started tracking 13-current in around
>> May 2020 (I was on 12 with scfb for a long time before that with no
>> issues), but since then I have tried to eliminate as many variables
>> as possible=2E First I switched to barrier instead of synergy=2E Shortl=
y
>> after that I realized it was happening all the time and not just a
>> network problem, I started using foobillard to verify during tests=2E I
>> tried different RAM combinations, different network cards, a variety
>> of RAM timings, stripping rc=2Econf etc, powerd settings, also scfb,
>> with no effect=2E It is observable with ping -f, a dot or two appears
>> every time it glitches=2E It seemed much better with RC2, but now with
>> RC3 it seems to be back with a vengeance, and since its my main
>> workstation and barrier/synergy server host for several machines, it
>> is unbearable to use=2E Both Win10 and devuan3 on the same machine are
>> smooth with no issues=2E Any feedback or info would be appreciated=2E
>>=20
>> Hardware:
>> ASRock B450M Pro4
>> Ryzen 2400G, no OC
>> 32M DDR4-2933
>> Onboard Vega GPU, drm-fbsd13-kmod
>> _______________________________________________
>
>Without knowing much about the issue at hand, just a few ideas:
>
>Sysctls I would look at:
>- raising *=2Ecx_lowest
>- different kern=2Eeventtimer=2Etimer

None of these should be an issue, but:

sysctl kern=2Esched=2Esteal_thresh=3D1

For some reason with the default value of 2, I'm seeing weird stuttering i=
n youtube videos, games, etc=2E on a 5950X system=2E 1 (or 0, IIRC) works f=
ine=2E

>Try running with powerd disabled=2E

well, if you do that, don't forget to manually set the freq sysctl to the =
maximum



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED533759-D326-45D5-8AE2-51CB10763A1E>