From nobody Fri Feb 16 15:47:39 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 4TbxCK5CTNz51rhJ for ; Fri, 16 Feb 2024 15:47:41 +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 4TbxCK48T3z4sCW for ; Fri, 16 Feb 2024 15:47:41 +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=1708098461; 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=0IwO0JU4GsLpJNYAFjNt5M9PRb+k061cRNo6eddJ+g0=; b=fTxAQApJ4RcZ7yWzUwwH8sTuhnoKKSV9ePUhJx8CMxCPT3nE+H5qg5TZmTm+dJahofXzme zncxMBveTcF2KIxvr10rEqgdnhyQq6Z34JahrYuVLm6QBmL3DiLJLAAnVQuTkqItKmoky+ eHlP+vTq+RD/TJ17HsWg2LDzwmw0zKD7+7n1Y1Dn/hMhU32caZ6kF1LmvfVHDFAuBi0AR1 2Vc84TzkuO2hiXAU5g2r0XfAjZI4gx+0BKnYyyAoZwTFakA1D6ZgAUcjNm5dkIrIJ84mcQ jBDNlZvG6zjbvJ6biXBfWZLuWLWX4Op90NoZhhG/VEGuWhFwlkaiLIMcl0Mlnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708098461; a=rsa-sha256; cv=none; b=Tpvb85/zsweOQ0bIIHCQnBGWsjgRDq1qTUBu9JGRsfNoEvl4ppVQ4XWwpDTh9SP5VcApan 0oMwwda8Rz/Lyy0obxrPSXCkTnttCXBirbU3xTnA7ymja86g1blujaVinxGjZgMeH2GHPB qZfVTFM9ZPBumBNgiEeqZ/r9vQ8M/HVIeBwc3hIKD5jG1FqvB2qytznVqTcdw4y7QA8Bwh FIoF0mjwkzTv39buaiVUjjOkVWvNAGROCuNSSyeZdGN4Du3cXKedu27JdWxBTODs4QB8Dc +QxtD3bhr9OQnE3fAjzP3a31C1+w3VFM6oHVanOrx9DMpd3qo/grY8ARkDUdHw== 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 4TbxCK3DyszWwH for ; Fri, 16 Feb 2024 15:47:41 +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 41GFlf5E081094 for ; Fri, 16 Feb 2024 15:47:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GFlfG2081092 for fs@FreeBSD.org; Fri, 16 Feb 2024 15:47:41 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, 16 Feb 2024 15:47:39 +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 #56 from Seigo Tanimura --- (In reply to Seigo Tanimura from comment #55) One small update: * Update(s) - Split the VFS part of the per-filesystem vnode counts into a separate com= mit. - This commit adds a new field to struct mount. __FreeBSD_version may he= nce have to be bumped. - No functional changes in the fixes. - *-fix and all branches depending on it are not changed except for the commit hashes due to rebasing. * Github Sources 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 | 57ddfad884 | topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/14 | stable/14-topic-openzfs-arc_prune-regulation-fix | 20a6f4779a | stable/14-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/14.0 | releng/14.0-topic-openzfs-arc_prune-regulation-fix | 4edf3b8073 | releng/14.0-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/13 | stable/13-topic-openzfs-arc_prune-regulation-fix | 9d2f548bbe | stable/13-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.3 | releng/13.3-topic-openzfs-arc_prune-regulation-fix | 24eb518714 | releng/13.3-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.2 | releng/13.2-topic-openzfs-arc_prune-regulation-fix | c78c31d2ef | releng/13.2-topic-openzfs-arc_prune-regulation-counters |=20 | Git Commit Hash | | Per-filesystem | |=20= =20=20=20=20=20=20=20=20 | | FreeBSD-EN-23:18.openzfs | Vnode Counters | ZFS & VFS | Null= fs=20=20 | Counters Base Branch | Backport | (VFS part) | Fix | Fix= =20=20=20=20=20 | (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=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 | ee039d8ac5 | 79221e0ef1 | 207bd6942b | 319570b6b8 ------------+--------------------------+----------------+------------+-----= -------+------------------- stable/14 | N/A | 2e4eb52fd9 | 7b7bf0eeda | 38baf54058 | 9ba27996f6 ------------+--------------------------+----------------+------------+-----= -------+------------------- releng/14.0 | N/A | 5de24ff9b4 | de37505406 | 33ba6525ef | 3d2e1a59c9 ------------+--------------------------+----------------+------------+-----= -------+------------------- stable/13 | 5c62c48b7a | d68540aa6e | 17ca0ab252 | f004098adf | 58053d6f59 ------------+--------------------------+----------------+------------+-----= -------+------------------- releng/13.3 | 0d279f56c3 | fb47a19236 | 4af563a184 | 5d309ad92f | 5814ad74f5 ------------+--------------------------+----------------+------------+-----= -------+------------------- releng/13.2 | b784851090 | 7ef6cf8f72 | 5e979de6ca | 14702db1b8 | 185077cf44 --=20 You are receiving this mail because: You are the assignee for the bug.=