From nobody Fri Mar 8 17:56:25 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 4Trv4C4Ss2z5DXxp for ; Fri, 8 Mar 2024 17:56:27 +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 4Trv4C3BvXz4vSK for ; Fri, 8 Mar 2024 17:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709920587; a=rsa-sha256; cv=none; b=wrpCTNiFH0wEDd0S4uthuYPcLnElAXHKQ1pp1MsCI7PbAcLq2IA0Iv97xATIPg0mNgb2nJ l1g6Yd51/id7kKuofnAyVSiDTA1Od5/DfnNyJlf0bVzVe9ZSpAbjZpfBuEpLQZvBjV7bLp dCwViEWjiSWzYjjYa3IYVtJntGHRSQqa7NyFn/CH5bb3Vre8yQuUOhs77zN2DGCuI7Nryc fXNoz+rcTYj5UWIit6Vw9MUczdFSf1AoqiXQqindXO8frfydVTtpNBrLRuuqzqoQmR2MSz XBpnxdNfnEcRQVfWpuQZESoJyp2t47c8mCSmxECTzEb2lyKn2xSxqknF/h2tYw== 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=1709920587; 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=HAaaDBlLog8B5dulqTUds4+Zmuk8ksOx6/Qd8dNkWxI=; b=yIHYie6ZUn4QK7bAdP5XNy/MXgCv8seUPu+ngfUwoiiJK5oQ1Gq0TZ1O73vIbHbWKZV5Xo xpmx5aLzrQWSuOhQKyhSqs/Q+y/ldnPkVMVMPbYiiEP1T1U66jrWxLlo6j12TcvK3HNPVl KoMaMta1FXXJ7ShO2yxoxSMTEJTQNjnYVRvCHYZBsQB1XwL/3MQsDcUaAaOX1ry18AqCaP qMJMR44QqxRZ2CT6j+1O8aeu/G7vRO7SDrEODvgwtxAjK2DyVNvLMKSX4CMswq0dKedIrd UNS8PHmTnikYk4CQQm3YJfImNFhgSm8lwvIRWbprrJsv08Grb9mPletsHeyz+Q== 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 4Trv4C2qGHzSbM for ; Fri, 8 Mar 2024 17:56:27 +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 428HuRbO040062 for ; Fri, 8 Mar 2024 17:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428HuR0R040061 for fs@FreeBSD.org; Fri, 8 Mar 2024 17:56:27 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, 08 Mar 2024 17:56:25 +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: seigo.tanimura@gmail.com 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 #83 from Seigo Tanimura --- (In reply to Seigo Tanimura from comment #70) Again, thanks to everyone who has joined testing and reviewing my fix! * Fix Status The nullfs fix has been committed to main by 7 Mar 2024. (c849eb8f19) Please set sysctl OID vfs.nullfs.cache_nodes to false (0) to enable the fix. * GitHub Sources All branches have been rebased by 08 Mar 2024, mainly to catch up to 13.3-RELEASE. The nullfs fix has been removed from the main fix branch. All of the sources are under https://github.com/altimeter-130ft/freebsd-freebsd-src. - Branches and Git Commit Hashes | | Git Commit Hash | Fix Branch | Base Branch | Fix + Counter Branch | Base =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D main | topic-openzfs-arc_prune-regulation-fix | 32c7350beb | topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/14 | stable/14-topic-openzfs-arc_prune-regulation-fix | 275aee513b | stable/14-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/14.0 | releng/14.0-topic-openzfs-arc_prune-regulation-fix | adfda3c395 | releng/14.0-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/13 | stable/13-topic-openzfs-arc_prune-regulation-fix | 8b84d2da9a | stable/13-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.3 | releng/13.3-topic-openzfs-arc_prune-regulation-fix | 80d2b634dd | releng/13.3-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.2 | releng/13.2-topic-openzfs-arc_prune-regulation-fix | a839681443 | releng/13.2-topic-openzfs-arc_prune-regulation-counters |=20 | Git Commit Hash | | Per-filesystem | |=20= =20=20=20=20=20=20=20=20=20 | FreeBSD-EN-23:18.openzfs | Vnode Counters | ZFS & VFS | Null= fs Base Branch | Backport | (VFS part) | Fix | Fix =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D main | N/A | b4808d64d6 | 8c966c0eab | (c849eb8f19) ------------+--------------------------+----------------+------------+-----= --------- stable/14 | N/A | af86ddef88 | cf8738a6f3 | 1f89f33465 ------------+--------------------------+----------------+------------+-----= --------- releng/14.0 | N/A | 4a8bea1f75 | c9d9803b73 | cd5243b6df ------------+--------------------------+----------------+------------+-----= --------- stable/13 | 7f19707bb4 | 968ce986e0 | 3787ca314b | 762a970264 ------------+--------------------------+----------------+------------+-----= --------- releng/13.3 | a33aedb344 | ff1452a099 | 092fcd8c9f | f4e31b6a5e ------------+--------------------------+----------------+------------+-----= --------- releng/13.2 | bb006c3aef | e9624c35e7 | f25524526d | 5ae2d6d83b | Git Commit Hash | Counters Base Branch | (Not for merging) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D main | c8b0a042c4 ------------+------------------- stable/14 | cfc4bfdf5f ------------+------------------- releng/14.0 | b481bcb399 ------------+------------------- stable/13 | f312688408 ------------+------------------- releng/13.3 | d4fa366558 ------------+------------------- releng/13.2 | ef8a156c28 --=20 You are receiving this mail because: You are the assignee for the bug.=