[Bug 275594] High CPU usage by arc_prune; analysis and fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Mar 2024 17:56:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594

--- Comment #83 from Seigo Tanimura <seigo.tanimura@gmail.com> ---
(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
============+=========================================================+=================
main        | topic-openzfs-arc_prune-regulation-fix                  |
32c7350beb
            | topic-openzfs-arc_prune-regulation-counters             | 
------------+---------------------------------------------------------+-----------------
stable/14   | stable/14-topic-openzfs-arc_prune-regulation-fix        |
275aee513b
            | stable/14-topic-openzfs-arc_prune-regulation-counters   | 
------------+---------------------------------------------------------+-----------------
releng/14.0 | releng/14.0-topic-openzfs-arc_prune-regulation-fix      |
adfda3c395
            | releng/14.0-topic-openzfs-arc_prune-regulation-counters | 
------------+---------------------------------------------------------+-----------------
stable/13   | stable/13-topic-openzfs-arc_prune-regulation-fix        |
8b84d2da9a
            | stable/13-topic-openzfs-arc_prune-regulation-counters   | 
------------+---------------------------------------------------------+-----------------
releng/13.3 | releng/13.3-topic-openzfs-arc_prune-regulation-fix      |
80d2b634dd
            | releng/13.3-topic-openzfs-arc_prune-regulation-counters | 
------------+---------------------------------------------------------+-----------------
releng/13.2 | releng/13.2-topic-openzfs-arc_prune-regulation-fix      |
a839681443
            | releng/13.2-topic-openzfs-arc_prune-regulation-counters | 

            | Git Commit Hash
            |                          | Per-filesystem |            |          
            | FreeBSD-EN-23:18.openzfs | Vnode Counters | ZFS & VFS  | Nullfs
Base Branch | Backport                 | (VFS part)     | Fix        | Fix
============+==========================+================+============+==============
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)
============+===================
main        | c8b0a042c4
------------+-------------------
stable/14   | cfc4bfdf5f
------------+-------------------
releng/14.0 | b481bcb399
------------+-------------------
stable/13   | f312688408
------------+-------------------
releng/13.3 | d4fa366558
------------+-------------------
releng/13.2 | ef8a156c28

-- 
You are receiving this mail because:
You are the assignee for the bug.