Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 16:45:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274698] arc_prune consuming 100% CPU
Message-ID:  <bug-274698-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274698

            Bug ID: 274698
           Summary: arc_prune consuming 100% CPU
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org
                CC: mav@FreeBSD.org

In the past couple of months I see a new problem: ZFS' arc_prune thread will
occasionally start consuming a CPU and run for hours.  Looking at "vmstat -z |
grep taskq", I can see that a huge number of task allocations are pending, and
they are slowly draining.

It looks like back-to-back calls to arc_evict() can queue up a silly amount of
work.  The Linux implementation of arc_prune_async() is careful to avoid this
problem.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274698-227>