From nobody Sun Dec 25 14:53:01 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ng3nB1R5nz1LsTf for ; Sun, 25 Dec 2022 14:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ng3nB0MS5z4Kg7 for ; Sun, 25 Dec 2022 14:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671979982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9BZ5K5Y3dd6phLGUN/ycBAc9FLSiIgWG95XSXP/qm1E=; b=wTjb7beghr98GK3MG9vaK/TzYRsoBTeKlHghAfla8PJKkrpiM8nD/vHf7hBqyVynhMeFhm FhBNJ28BSt+fzbSJ7uaLlKXnMgb/881s/xpR+vGfnz+iMt6Wf7gVCoSskAMpQgMtklcjqC CWg4k9eVRLoWbI5VPVBLxvRw3Nd70BQthypoGM4jys8nrtduflJPbOZnqYTzE863Bh4IBO +KwqUC2IahILMKtZJwyaXR+8BoGrdWYYilrJ4wB5xblPOrp0WDtg+8x09rcMEmu1Xrp6X8 Rm7PbH2xIlxvjho36B44w34h9afHFL4oKdWnlE21QyWA3dBe2IC+piaJwUUcJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671979982; a=rsa-sha256; cv=none; b=VlN2E9QFqVnPA0mty7u5rO03uHxMzCQNrQ5Y5wFUO9pKcvSqdXjrsWPrtto3g+kbD8Z2TB 3X2RoM/wVCWmQuNhDN9NNXcnOXHKmB9mnbZjfzN8dDfwMtNXFk+KASWRl1G8ALaZIekEVm mNTCGth/GhAhRxfRkTek9OmoWdXNeNocNXMNK9Z66dXKN1hpMjmdxZJfnQ2zQFbi++Hs9N ULCY6wD8XPVVonpEZuQ8oozBpLAW/otY9qF/EboMHx4ixCn11o9kpspw0ZQWgRnNuZdL6y 1YBrmjImNXufOksqVq275XWI5KIn8tv3ebwHNjkwoFZSDEejEazSIw5Ll69fKg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ng3n96ZY8zwcD for ; Sun, 25 Dec 2022 14:53:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BPEr1Dj079972 for ; Sun, 25 Dec 2022 14:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BPEr11u079971 for bugs@FreeBSD.org; Sun, 25 Dec 2022 14:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 256594] AMD Ryzen CPU stutter (responsiveness lag) Date: Sun, 25 Dec 2022 14:53:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256594 --- Comment #11 from crest@rlwinm.de --- If you're still stuck try breakout out into the loader prompt by pressing escape during the 10 second countdown in the bootloader menu. On the loader prompt type: set kern.sched.steal_thresh=3D0 boot To persist this you can put this line into /boot/loader.conf to apply as ea= rly as possible: kern.sched.steal_thresh=3D"0" To apply it slightly later you can add the same line to /etc/sysctl.conf as initially reported in this thread. The stutter wasn't bad enough during installation on my personal workstation which als moonlights as a gaming rig (AMD Ryzen 9 3950X, 32GB DDR4-3600 RAM, RTX 3090 GPU). It just felt slightly off at the vt(4) console. I couldn't p= lace it at the time. With Xorg and the Nvidia driver loaded the system was still fast when compiling etc., but felt very sluggish and lots of tearing in i3. Supposedly smooth scrolling in browsers etc. was nothing of the sort. To ge= t a pleasant desktop experience without tearing I also had to force the Nvidia driver to use a less efficient form of composition which increased idle pow= er consumption by ~10W, because it keeps the GPU from staying in the lowest po= wer state even when just editing source code in urxvt and gvim. --=20 You are receiving this mail because: You are the assignee for the bug.=