From owner-freebsd-current@freebsd.org Wed Jan 20 14:42:32 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F0F84F84D6 for ; Wed, 20 Jan 2021 14:42:32 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DLSt02VXjz4qmD; Wed, 20 Jan 2021 14:42:32 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x733.google.com with SMTP id 143so25442865qke.10; Wed, 20 Jan 2021 06:42:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=/hH6d7s/dCwFJoYIluIIifTk+Ts4qHPj06xWMk9RR2w=; b=qbHSSdN9+QKs8LzQCD7OBu2b1O4OwA6B6r7jnHldZM1XLe6WSgMFxmdf5NaB8i6QUX z3DNuAwNTl0AqznSMLa06kf2spBenLswY8/f1XlCNjji/DqkxFxFgUmSSpmOAi1l0YQ0 92oTsM5/bWLp/OEe+No/BXwnVS0vQLDl0LUkyvni8MHmtltatxR9z5S98Hg9FttSfY1x IWQCCHMLL/Yr9DRzdnsnqDyv+CdKHgqgNGjgY4xWyA+li9DvSFVZrZ8s92Qu8LRwRVj/ ld45+xLTnWyMA/+ZOsDB+gEcidDx76Hqd4f+RMs0usJdUFrntLlf1FyKrOIaM+Y7nvEZ o+eg== X-Gm-Message-State: AOAM531ryKxZouvg/I24jSufmeXNm70wycCJmchWpqpDUaq+eGBWHQLQ fKucImZ7PLMWNni/vGuwNos= X-Google-Smtp-Source: ABdhPJyx9ArsJXymDR+yl+b1TPufOVA+jWDGcNNHGQtqI9StY1b3aHIgsjXicH5xuz6W/DR0acQ79A== X-Received: by 2002:a05:620a:51:: with SMTP id t17mr9482908qkt.414.1611153751628; Wed, 20 Jan 2021 06:42:31 -0800 (PST) Received: from raichu ([142.126.164.150]) by smtp.gmail.com with ESMTPSA id f125sm1403383qkd.22.2021.01.20.06.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 06:42:30 -0800 (PST) Sender: Mark Johnston Date: Wed, 20 Jan 2021 09:42:28 -0500 From: Mark Johnston To: Konstantin Belousov Cc: rhurlin@freebsd.org, freebsd-current Subject: Re: Waiting for bufdaemon Message-ID: References: <9ae3cc65-193a-39c3-4067-0d42e9f634b0@gwdg.de> <1d675d77-8bdb-c285-ffa2-28330b839734@alvermark.net> <60599f75-7206-9269-ac0c-934f8f31ae26@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4DLSt02VXjz4qmD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2021 14:42:32 -0000 On Wed, Jan 20, 2021 at 03:12:27PM +0200, Konstantin Belousov wrote: > 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 better 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 impressions? > > >> > > >> I should mention, that beside the already discussed timing problem 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. conky do > > >> not update their windows anymore, they freeze. After some time, Firefox > > >> updates its screen content only after switching back from another window ... > > >> > > >> When such frozen programs are killed and restarted, they run normally > > >> 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 are in > > /boot/loader.conf > > > > cpu_microcode_load="YES" > > cpu_microcode_name="/boot/firmware/intel-ucode.bin" > > > > But isn't this just for Intel (i387 and amd64), not AMD cpus? > You need microcode_update_enable="YES" in /etc/rc.conf for late microcode > 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 question. The early microcode loader still doesn't support AMD. I did not do it for lack of a test system at the time.