Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 14:22:16 +0000
From:      Santiago Martinez <sm@codenetworks.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Waiting for bufdaemon
Message-ID:  <9d2858a4-8036-0b0d-90fe-115bfe267409@codenetworks.net>
In-Reply-To: <d55fc185-186b-742d-eaf6-1f2a13232817@codenetworks.net>
References:  <YAO9/cxnbGv5u3Bg@kib.kiev.ua> <adb9d42c-d855-1edf-a57c-9b16aad481b7@gwdg.de> <YAQINMoEi7ysBSD5@kib.kiev.ua> <1d675d77-8bdb-c285-ffa2-28330b839734@alvermark.net> <YAgDhJ9/YX29kH2a@kib.kiev.ua> <60599f75-7206-9269-ac0c-934f8f31ae26@gwdg.de> <YAgjOYdVG%2BN4lU0n@kib.kiev.ua> <d25a7608-9e61-0ece-9500-d4a80e79068e@gwdg.de> <YAgsO3AoB5PFhzDq@kib.kiev.ua> <3885bc2a-3924-cc3f-6cad-99dc6f803b0d@gwdg.de> <YAg1jCpPQd2K/zfE@kib.kiev.ua> <d55fc185-186b-742d-eaf6-1f2a13232817@codenetworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--w2sUocPzL4UmedI0KuzAv56idb7eoBsMZ
Content-Type: multipart/mixed; boundary="SfxMYtCuFiSQjBhv0UEkcmut1kSOAUkmb";
 protected-headers="v1"
From: Santiago Martinez <sm@codenetworks.net>
To: freebsd-current@freebsd.org
Message-ID: <9d2858a4-8036-0b0d-90fe-115bfe267409@codenetworks.net>
Subject: Re: Waiting for bufdaemon
References: <YAO9/cxnbGv5u3Bg@kib.kiev.ua>
 <adb9d42c-d855-1edf-a57c-9b16aad481b7@gwdg.de> <YAQINMoEi7ysBSD5@kib.kiev.ua>
 <1d675d77-8bdb-c285-ffa2-28330b839734@alvermark.net>
 <YAgDhJ9/YX29kH2a@kib.kiev.ua> <60599f75-7206-9269-ac0c-934f8f31ae26@gwdg.de>
 <YAgjOYdVG+N4lU0n@kib.kiev.ua> <d25a7608-9e61-0ece-9500-d4a80e79068e@gwdg.de>
 <YAgsO3AoB5PFhzDq@kib.kiev.ua> <3885bc2a-3924-cc3f-6cad-99dc6f803b0d@gwdg.de>
 <YAg1jCpPQd2K/zfE@kib.kiev.ua>
 <d55fc185-186b-742d-eaf6-1f2a13232817@codenetworks.net>
In-Reply-To: <d55fc185-186b-742d-eaf6-1f2a13232817@codenetworks.net>

--SfxMYtCuFiSQjBhv0UEkcmut1kSOAUkmb
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Hi, excellent the patch clear the problem for me when rebooting after a
kern compile, etc, etc.

Also seems that Firefox and pycharm or any other java related tools are
not freezing any more, but its maybe to early to confirm this 100%.

Will keep you posted.

Santiago

On 1/20/21 1:58 PM, Santiago Martinez wrote:
> Hi Everyone, i have exactly the same behavior as Rainer described.
>
> "After a high system load, several programs only react very slowly (e.g=
=2E
> Firefox)......"
>
> I will try with the patch and see if it also clear this on my machine
> (AMD R7).
>
> Santiago
>
>
> On 1/20/21 1:52 PM, Konstantin Belousov wrote:
>> On Wed, Jan 20, 2021 at 02:35:59PM +0100, Rainer Hurling wrote:
>>> Am 20.01.21 um 14:12 schrieb Konstantin Belousov:
>>>> On Wed, Jan 20, 2021 at 01:56:57PM +0100, Rainer Hurling wrote:
>>>>> Am 20.01.21 um 13:34 schrieb Konstantin Belousov:
>>>>>> On Wed, Jan 20, 2021 at 01:17:51PM +0100, Rainer Hurling wrote:
>>>>>>> Am 20.01.21 um 11:18 schrieb Konstantin Belousov:
>>>>>>>> On Wed, Jan 20, 2021 at 11:02:21AM +0100, Jakob Alvermark wrote:=

>>>>>>>>> This patch hides the problem for me. The system seems to work b=
etter now.
>>>>>>>>>
>>>>>>>>> No waiting on reboot, and the webcam works better.
>>>>>>>> I am curious what do you mean by the above reference to webcam.
>>>>>>>> Can you explain it with more details, even if only the impressio=
ns?
>>>>>>> I should mention, that beside the already discussed timing proble=
m with
>>>>>>> bufdaemon, I also have problems with several apps:
>>>>>>>
>>>>>>>
>>>>>>> After a high system load, several programs only react very slowly=
 (e.g.
>>>>>>> Firefox). Several dockable apps from WindowMaker, but also e.g. c=
onky do
>>>>>>> not update their windows anymore, they freeze. After some time, F=
irefox
>>>>>>> updates its screen content only after switching back from another=
 window ...
>>>>>>>
>>>>>>> When such frozen programs are killed and restarted, they run norm=
ally
>>>>>>> again for an indefinite time before they freeze again.
>>>>>>>
>>>>>>> These symptoms completely disappeared, after I patched the Ryzen =
box as
>>>>>>> suggested on 01/17:
>>>>>> Do you load latest microcode update from devcpu-data?
>>>>> Yes, sysutils/devcpu-data is installed and the following to lines a=
re in
>>>>> /boot/loader.conf
>>>>>
>>>>> cpu_microcode_load=3D"YES"
>>>>> cpu_microcode_name=3D"/boot/firmware/intel-ucode.bin"
>>>>>
>>>>> But isn't this just for Intel (i387 and amd64), not AMD cpus?
>>>> You need microcode_update_enable=3D"YES" in /etc/rc.conf for late mi=
crocode
>>>> update.
>>>>
>>>> I think that early boot update should work on AMD, bit for this you =
need to
>>>> select and put right blob.  It is enough to load late to answer my q=
uestion.
>>> Ah, ok. Thanks for clarification. I also put cpu_microcode_load=3D"YE=
S" in
>>> /etc/rc.conf for a late update.
>>>
>>> Should I try again without your patch of sys/x86/tsc.c, whether the
>>> problem still occurs?
>> Yes.
>>
>>> And for the early boot update, how do I know about the right blob?
>> I am not aware of the mechanism.  My best suggestion is that you match=

>> the blob against your CPU family/model id manually.
>>
>>>>>> It might be not enough, which means that additionally latest BIOS =
needs
>>>>>> to be flushed.
>>>>>>
>>>>> I am running latest Firmware F31 on a "Gigabyte\ Aorus\ X570\ Elite=
"
>>>>> mainboard.
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.=
org"


--SfxMYtCuFiSQjBhv0UEkcmut1kSOAUkmb--

--w2sUocPzL4UmedI0KuzAv56idb7eoBsMZ
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEk06QWJzNAs9NTrFjWBFqYkyC55EFAmAIPJgFAwAAAAAACgkQWBFqYkyC55ES
tg/+NMU8gixr5RFE959o87TtIYxmBSCCO+IWDz73JQIOaQwKCMFtpdWZKbokEu16X2DFUEmjSqLS
m3wJNbTcnSeIopF6drRDlxwN7wzTiGE0vUOXwZ+c5AdTK655xmIxQu80Mv4esD2mrWssXyczG42j
6gHKia+b1iFWZ67AxLVLi4ASIr4XPovt0stDx3L0TEV9sQG0/8yG32mI5g7/Z7UBIrKyQGysiBGn
zHrGZbWiWL2G4GQrgTHAsg/erGnFMROIO8fNrFjZGALQEUt/pKKKVdyieAk1GlKNs1qM5pfYzHOd
E4DtCohPKcgYVpmnq0VYhamYKDtClwwRuxjPa3os267RRTzoZZscYRn7iJaV4G5PmBJSlm9xdxkD
ba2oQMO/KH73vERbiJEZfU8SH8AzpNKn4yBFwuKMISNGD8hddj+DaKA40mocsQNqrXbbWwfIIFeL
DciUHARz/0bzi3qnbNF+NJSiR/gsh5L0SvoZNbPATl5g1cX29YTGgSQ9PKliXdCDowxsTUNp+CWP
w8DWaTnjxpNoAvWBUo0PqvWSuF5f+K2BeVwb7WGmKEIlv9A7Vd0XcO/Oo13x6co7QymaPz6ICIsb
3ZY4EKCK2DfenzIufKE165nyJZCtgjRe9WEzpPn2+ef8AX4nLSeSrw9R/c7Ulvcv45jIQQOR8UYF
/yU=
=vjQg
-----END PGP SIGNATURE-----

--w2sUocPzL4UmedI0KuzAv56idb7eoBsMZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d2858a4-8036-0b0d-90fe-115bfe267409>