From nobody Thu Jun 6 09:22:50 2024 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 4VvzQ319jJz5MR7f for ; Thu, 06 Jun 2024 09:22:51 +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 4VvzQ300PJz4Z2B for ; Thu, 6 Jun 2024 09:22:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717665771; a=rsa-sha256; cv=none; b=YlGNCFmdd4PENUHG/g4r+ubM4pOCKMS+KbptAqCTciZnN2upY1YsHw2wouTAPocaTQ2kjD 3fdKV28Id0MGpGCF8NNmUxsbVL29nP5rPkRT9BUBFM6Zbkqjp/XUmEZzfGfZS4AU5nOzGk GfiFAab0wMiu7rpqn9gPkfPkEWpdR67toA+Kx66zhP7X+E8NS8zQ6yk0nqbx+dMEZ5gaxy DW8I6ILc1OebULcLq9E1GzKrwkJQEIFKYsk1XxKJ/IT05uL/74KetZu0sNJIaKRZ/4rAIF kE0CMwN12RA8gJlTGQhF3txbPxDjTFo6tvwm6kAKDY62sisg5TADT+vxCaf8Ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717665771; 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=8Y7rfi+aaa9o2QWDxUJQKgh17U8KvAFnZdcC+iDkMsk=; b=odpIalM+Ys6yTZbXyQkQwon1Ld1LP2v79Sn1mwtPlM6TQU8dc86OB1tMUtf1Od6y41jz2b 0ND07KLgvNp7FIGk1b7d+ha27wXo14ULTPXq7Nm6i94AstQjxSgkvSAONUTHLutkaJ9iAH P9YjTeyIbIxQAZ+BPxpzq3AlDtd+GVcTZAreCI7C+PsejU1nGm4LzbIILLtMFHfUmY+t3q 4YNFKk2kh7gw6aynmmnKoWof4IyxRzFIUZqXObb9925sgHddFSwo1hRQ0+oEFDjs+KJq2j bzgIaaO49xx7XoNMYqCOPdXFX8OQn98/XQWAPxz8kuqLfhI3PGqfbjyNqZWrgw== 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 4VvzQ22nXyzgWv for ; Thu, 6 Jun 2024 09:22:50 +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 4569MogH011040 for ; Thu, 6 Jun 2024 09:22:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4569MoAN011039 for bugs@FreeBSD.org; Thu, 6 Jun 2024 09:22:50 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 271826] FreeBSD is disastrously slow on a PowerMac G5, freezing at every command Date: Thu, 06 Jun 2024 09:22:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mitch_com@hotmail.com X-Bugzilla-Status: Open 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271826 --- Comment #35 from Mitch --- (In reply to Justin Hibbits from comment #33) Yesterday I've tried Ben's patch and my machine was way happier, unfortunat= ely the same problem still occurs, just less often. I was able to install 14.1 and use it for a few minutes before the machine crashed while idling. Just trying to understand why we'd want to use memory barriers with the powermac_smp_timebase_sync function. Is it because PPC is using a weak memory model which would be problematic i= n an SMP context like explained below ? https://preshing.com/20120710/memory-barriers-are-like-source-control-opera= tions/ https://preshing.com/20120930/weak-vs-strong-memory-models/ You mentioned that the code is derived from mpc85xx, do we have such a mach= ine in the field which is running a modern release properly ? Also how was FreeBSD handling timebase sync before the introduction of plateform_powermac ? I'll try your suggestions and test it again. --=20 You are receiving this mail because: You are the assignee for the bug.=