Page MenuHomeFreeBSD

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

Authored by seigo.tanimura_gmail.com on Mar 1 2024, 5:36 PM.
Tags
None
Referenced Files
F144248908: D44175.id.diff
Sat, Feb 7, 2:36 AM
Unknown Object (File)
Sat, Jan 31, 8:18 AM
Unknown Object (File)
Sat, Jan 31, 4:14 AM
Unknown Object (File)
Fri, Jan 30, 7:37 PM
Unknown Object (File)
Tue, Jan 27, 4:44 PM
Unknown Object (File)
Jan 3 2026, 6:22 PM
Unknown Object (File)
Dec 2 2025, 1:37 PM
Unknown Object (File)
Nov 22 2025, 10:06 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 56979
Build 53867: 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. (stable/13).Mar 1 2024, 5:58 PM