[Bug 275594] High CPU usage by arc_prune; analysis and fix
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275594] High CPU usage by arc_prune; analysis and fix"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Dec 2023 19:33:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #3 from Mark Johnston <markj@FreeBSD.org> --- (In reply to Seigo Tanimura from comment #2) Does arc_prune stop running once the build finishes? The problem that EN-23:18.openzfs tries to address is that arc_prune will continue endlessly, even when the system is idle and there is no pressure for free memory or vnodes. arc_prune_async() is rather dumb on FreeBSD, as you point out: it tries to reclaim vnodes from the global free list, but doing so might not alleviate pressure. Really we want some way to shrink a per-mountpoint or per-filesystem cache. -- You are receiving this mail because: You are the assignee for the bug.