From nobody Fri Mar 22 15:47:02 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 4V1RXR0Zsgz5FCHn for ; Fri, 22 Mar 2024 15:47:03 +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 4V1RXQ6dLPz4R38 for ; Fri, 22 Mar 2024 15:47:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711122422; a=rsa-sha256; cv=none; b=Swia2551fx6X9waIsH+n1L8xhW7oo9lTLlyOggeBQOud0wAFfiTsLEegick34GbZf2yVlF y+NYqq+uCO5LXirW1aUedwb02h+0Z3ot0sfdrQJKGKapEs8N+jyBELkIjqR6KQrbsIMWbr 03fcVqjASvYNLw00miUx2INNscA9J3kWOIgKaPiygNyD1CXwVCq/q7IOkqhBjn8usKISqB qNihobB6gP/jhyHsRG6PM9bxU+86IPuZDcCsn5xr22Zy8SoLyjjoZNU7IznFFjxy/v3btu 9Nr8G0OyMhCNV1Ii7z38CePh/Fx7fdlzltQImA0rB3xuqYVX2l38B3+sfjmAhw== 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=1711122422; 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=Ml16Lx/EY34hmM9cCJeD3JBcgV02n6uFP9dCcu+7NPc=; b=Z9ke4auSRblQVM37soO7rPTED+d4IT5XNmjKYT/oVyfGMFNIFr0j6J3Mu5DtDQfslGAJ7e HvP0rQGKSY8LtO8Kph/XX+OdSwK5r0WkNvqEUbJISs3MtLOib3MK0sK723QtaL3oQl3n7G +YH6JPNlPX+B/JlmzF0ppCbH0HDiETjJgmdSEo5WkOm/bsrI/hNI2bkqbLmzHyclS4Kenz /7apM9rleKQi9B1gkVuys0Q+fgETwcCMBpMKYbZGUIdBwaHCRgZqI0yCC6KReoJ7cbF4I1 +5uKgaNSRUBC8ZU7+yg28g7IX4wPvIrf6+ZIeymwzE+7AzX2voeYSAJ+K0Edzg== 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 4V1RXQ6CC4z1PS4 for ; Fri, 22 Mar 2024 15:47:02 +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 42MFl2kF087026 for ; Fri, 22 Mar 2024 15:47:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42MFl2cW087024 for fs@FreeBSD.org; Fri, 22 Mar 2024 15:47:02 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: Fri, 22 Mar 2024 15:47:02 +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: zirias@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 #94 from Felix Palmen --- (In reply to Felix Palmen from comment #89) > will continue to observe the overall behavior. After a pretty busy (for my ZFS pool) week with the patches applied, I'd say the behavior is very good now. Provoking stalls requires crazy things like multiple poudriere-builds in I/O heavy phases (like *-depends) at the same = time and also doing other I/O (e.g. in bhyve VMs). A "normal" bulk build with fu= ll parallel jobs *and* MAKE_JOBS allowed is barely noticeable when scheduled on idprio. As I said, it was always sub-optimal on 13.x, but became utterly unusable w= ith 13.3-RELEASE. What I forgot to mention is: on 13.3, there were even EBADFs suddenly popping up for build jobs, which could very well be some "hidden" = bug that's only triggered by excessively bad performance... All in all, I personally think this issue desperately needs fixing; dependi= ng on your hardware(?) and workload pattern, you can't really use 13.3 without patches right now. Is anyone active reviewing the code? --=20 You are receiving this mail because: You are the assignee for the bug.=