From nobody Wed Apr 03 21:08:28 2024 X-Original-To: fs@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 4V8y5r53Xcz5Fsfv for ; Wed, 3 Apr 2024 21:08:32 +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 4V8y5r3rHCz4V7Q for ; Wed, 3 Apr 2024 21:08:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712178512; a=rsa-sha256; cv=none; b=W1sAEiMO6bEzQJL7Z8nOEbp/ZHRjp3/ByfJR62FThiU/a6y2P3h+rZ6AX0WmZ99Mtxpf4Q 1S0BpBICOhWeCi80EKl7fj2nc75UwixPc+gEXsZNe3Tra2108dFNPP/XH6LLYvseX+eUgq 3/bhwz96MVsh8LLKms/X1ROfJu9/Omdku+nYNx8AwQlL85aIE7DemQriJkiPT4X7pL0Ij2 OZ3kIsA5scfIKfaS/hxZbtpkC6YBGqUhLjpA0KfJ93XZZhArlRJz03vbsle+L/m84a47MG GRJ4zA7+QBGWFFnMUZYNuPIFoY9X9KbgiCbHNALdYuFlzkCH8JgtvwO3chHddA== 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=1712178512; 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=nMUGTrzbO1d7erVi9bs7CVURmNGSZDsqsOfUH1vyGgg=; b=sduy0XdRiMyjXux4rn2LhiQUcGOWgu35TpRtBfMtC+FqM96bytfW1Y7isATiwnYVEDd45o oAvTjM1j2mG5gYw+xSQf8g7c0FS4kTzDVh1js6TetvnGct4aBINT780S+FCHfQZsayHbBk mc6KUtIZKVItJQ2QqLO05MNVtvY8R92YIxSVarhifmZBZZ2QKKXCOpj7hEznO/Qe/Enj5C M42vqziy8pQ8BPc7ngMNAYtnn3oXiv72cqgrSH5U0hhPud8qEDqvCtWxXgs8/TA2S0UDhn +sUEWM70qekfeeosw9WaW162PjfxlSHwH313y2gV4updrynYU3s2vpyqnYCeeg== 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 4V8y5r3Q5Mzp0B for ; Wed, 3 Apr 2024 21:08:32 +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 433L8WQ1055029 for ; Wed, 3 Apr 2024 21:08:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 433L8WLc055005 for fs@FreeBSD.org; Wed, 3 Apr 2024 21:08:32 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: fs@FreeBSD.org Subject: [Bug 275594] High CPU usage by arc_prune; analysis and fix Date: Wed, 03 Apr 2024 21:08:28 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olce@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275594 --- Comment #106 from Olivier Certner --- Still could not spend much time on it today, tomorrow should be OK. I'll s= tart with D44170. (In reply to Anton Saietskii from comment #102) Yes, 64GB is already plenty. Actually, this is what I have on the machines running poudriere. The main difference to your configuration is that I'm u= sing `USE_TMPFS=3Dno`. Thanks for detailing your reproducer, I'll try something similar and report. (In reply to Mark Millard from comment #104) Seems to be in line with Anton's reporting. I may try with some LLVM, shou= ld be easier (less dependencies). (In reply to karl from comment #105) You're mentioning the ARC thread. Are both your source and object director= ies on ZFS? How much RAM? Are you able to trigger the problem after a fresh b= oot and immediately running buildworld and buildkernel? --=20 You are receiving this mail because: You are the assignee for the bug.=