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
F153718204: D44174.id136761.diff
Thu, Apr 23, 4:40 AM
F153661167: D44174.id.diff
Wed, Apr 22, 5:52 PM
Unknown Object (File)
Tue, Apr 21, 11:03 AM
Unknown Object (File)
Tue, Apr 21, 6:04 AM
Unknown Object (File)
Wed, Apr 15, 12:29 AM
Unknown Object (File)
Tue, Apr 7, 11:29 PM
Unknown Object (File)
Sun, Apr 5, 7:05 AM
Unknown Object (File)
Mon, Mar 30, 7:46 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 56373
Build 53261: 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