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
F96515257: D44174.diff
Wed, Sep 25, 7:26 AM
F96328920: D44174.id136761.diff
Tue, Sep 24, 3:10 PM
F96324356: D44174.diff
Tue, Sep 24, 2:41 PM
Unknown Object (File)
Fri, Sep 20, 3:50 PM
Unknown Object (File)
Tue, Sep 17, 4:49 PM
Unknown Object (File)
Mon, Sep 16, 6:00 PM
Unknown Object (File)
Sun, Sep 15, 4:54 PM
Unknown Object (File)
Sun, Sep 15, 6:59 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