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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Apr 2024 00:44:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594

--- Comment #108 from Peter Much <pmc@citylink.dinoex.sub.org> ---
My main workhorse (all purpose server, 48 GB, 5000+ threads) is also not
affected at all. But everything else here is. 

There are also cases where nothing really bad happens, but something is wrong
nevertheless (here a small server 4 GB ram for my offsite backup, does not much
otherwise):

operator@pole:~ $ ps axH | egrep "prune|dummynet"
    0  -  DLs     0:01.52 [kernel/arc_prune]
    0  -  DLs    23:29.91 [kernel/dummynet]

This is after I installed the patches. Before that, the compute on arc_prune
was about the same as on dummynet (dummynet is the firewall, that should be
mostly unchanging) - so while no malfunction yet, still lots of wasted cpu
cycles.

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