Page MenuHomeFreeBSD

kern/openzfs: Regulate the ZFS ARC pruning process precisely. (releng/13.2)
Needs ReviewPublic

Authored by seigo.tanimura_gmail.com on Mar 1 2024, 5:39 PM.
Tags
None
Referenced Files
F144420806: D44176.id135277.diff
Sun, Feb 8, 8:41 AM
F144355885: D44176.id136765.diff
Sun, Feb 8, 12:38 AM
Unknown Object (File)
Sat, Jan 31, 10:49 AM
Unknown Object (File)
Sun, Jan 25, 1:44 PM
Unknown Object (File)
Dec 28 2025, 6:25 AM
Unknown Object (File)
Dec 14 2025, 12:04 PM
Unknown Object (File)
Dec 6 2025, 1:45 AM
Unknown Object (File)
Nov 28 2025, 4:09 PM

Details

Reviewers
olce
Summary

This fix essentially eliminates the high CPU usage caused by the ARC pruning
thread, acknowledged by FreeBSD-EN-23:18.openzfs.

  • Key Features
  • Accounting of the ZFS vnodes in use. (v_usecount > 0)
  • Recycling of the ZFS vnodes with the precise target.
  • Acceleration of the ZFS vnode recycling by the ARC eviction waiters.

PR: 275594
Reported By: Thomas Mueller <thmu7@freenet.de>
Security: FreeBSD-EN-23:18.openzfs
Signed-off-by: Seigo Tanimura <seigo.tanimura@gmail.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56981
Build 53869: arc lint + arc unit

Event Timeline

seigo.tanimura_gmail.com retitled this revision from kern/openzfs: Regulate the ZFS ARC pruning process precisely. to kern/openzfs: Regulate the ZFS ARC pruning process precisely. (releng/13.2).Mar 1 2024, 5:58 PM