[Bug 275594] High CPU usage by arc_prune; analysis and fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Dec 2023 11:04:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594

--- Comment #7 from Seigo Tanimura <seigo.tanimura@gmail.com> ---
(In reply to Seigo Tanimura from comment #6)

Update:

1:25:00 since the build start, building lang/gcc12 and lang/rust.

vfs.vnode.stats.count is ~1.4M.  arc_prune tends to stick at about 20 - 25% of
the CPU with the occasional drops.  The ARC memory is stable at ~4.6GB.

The average vnode number requested for the reclaim by ZFS has exceeded 100K.

I understand that the files generated by the builds exceed the upper limit of
the ARC memory.  Arc_prune hence has to run continuously, though the interval
avoids the starvation upon vnode_list_mtx.

-- 
You are receiving this mail because:
You are the assignee for the bug.