Page MenuHomeFreeBSD

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

Authored by seigo.tanimura_gmail.com on Mar 1 2024, 5:32 PM.
Tags
None
Referenced Files
F132595482: D44174.id136761.diff
Sat, Oct 18, 6:50 AM
F132595480: D44174.id.diff
Sat, Oct 18, 6:50 AM
F132595479: D44174.id135275.diff
Sat, Oct 18, 6:50 AM
F132541014: D44174.diff
Fri, Oct 17, 7:54 PM
Unknown Object (File)
Wed, Oct 15, 2:48 AM
Unknown Object (File)
Tue, Sep 23, 12:00 PM
Unknown Object (File)
Sep 17 2025, 6:17 PM
Unknown Object (File)
Aug 26 2025, 10:02 AM

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
Security: FreeBSD-EN-23:18.openzfs
Signed-off-by: Seigo Tanimura <seigo.tanimura@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56978
Build 53866: 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/14).Mar 1 2024, 5:52 PM