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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Mar 2024 09:06:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594

--- Comment #70 from Seigo Tanimura <seigo.tanimura@gmail.com> ---
(In reply to Seigo Tanimura from comment #69)

A quick note that the nullfs fix has been updated as per kib's review on
https://reviews.freebsd.org/D44177.

The nullfs fix is now implemented by a sysctl toggle (vfs.nullfs.cache_nodes)
that controls the nullfs vnode caching, which is enabled by default.  Set this
to false to disable the nullfs vnode caching so that its lower vnodes can be
recycled smoothly.

* 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
============+=========================================================+=================
main        | topic-openzfs-arc_prune-regulation-fix                  |
57ddfad884
            | topic-openzfs-arc_prune-regulation-counters             | 
------------+---------------------------------------------------------+-----------------
stable/14   | stable/14-topic-openzfs-arc_prune-regulation-fix        |
20a6f4779a
            | stable/14-topic-openzfs-arc_prune-regulation-counters   | 
------------+---------------------------------------------------------+-----------------
releng/14.0 | releng/14.0-topic-openzfs-arc_prune-regulation-fix      |
4edf3b8073
            | releng/14.0-topic-openzfs-arc_prune-regulation-counters | 
------------+---------------------------------------------------------+-----------------
stable/13   | stable/13-topic-openzfs-arc_prune-regulation-fix        |
9d2f548bbe
            | stable/13-topic-openzfs-arc_prune-regulation-counters   | 
------------+---------------------------------------------------------+-----------------
releng/13.3 | releng/13.3-topic-openzfs-arc_prune-regulation-fix      |
24eb518714
            | releng/13.3-topic-openzfs-arc_prune-regulation-counters | 
------------+---------------------------------------------------------+-----------------
releng/13.2 | releng/13.2-topic-openzfs-arc_prune-regulation-fix      |
c78c31d2ef
            | 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                      | ee039d8ac5     | 79221e0ef1 |
15e81087f5
------------+--------------------------+----------------+------------+------------
stable/14   | N/A                      | 2e4eb52fd9     | 7b7bf0eeda |
37404c6e9e
------------+--------------------------+----------------+------------+------------
releng/14.0 | N/A                      | 5de24ff9b4     | de37505406 |
0a2e6025ce
------------+--------------------------+----------------+------------+------------
stable/13   | 5c62c48b7a               | d68540aa6e     | 17ca0ab252 |
ae550ed68a
------------+--------------------------+----------------+------------+------------
releng/13.3 | 0d279f56c3               | fb47a19236     | 4af563a184 |
767b47b774
------------+--------------------------+----------------+------------+------------
releng/13.2 | b784851090               | 7ef6cf8f72     | 5e979de6ca |
93cefa9124

            | Git Commit Hash
            | Counters
Base Branch | (Not for merging)
============+===================
main        | 4d5ae0f6aa
------------+-------------------
stable/14   | bf4b2e420d
------------+-------------------
releng/14.0 | 9de8754bcf
------------+-------------------
stable/13   | 8b9a9ad167
------------+-------------------
releng/13.3 | d0389390ce
------------+-------------------
releng/13.2 | 5301e244af

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