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
F164780890: D44175.id136762.diff
Tue, Aug 4, 12:04 AM
F164681542: D44175.id136762.diff
Mon, Aug 3, 3:49 AM
Unknown Object (File)
Sun, Aug 2, 3:50 AM
Unknown Object (File)
Thu, Jul 30, 3:58 PM
Unknown Object (File)
Wed, Jul 29, 8:16 PM
Unknown Object (File)
Wed, Jul 29, 1:08 AM
Unknown Object (File)
Thu, Jul 23, 2:16 AM
Unknown Object (File)
Sat, Jul 18, 8:30 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
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
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56374
Build 53262: 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