Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2017 22:55:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 224080] ZFS: "arc_dnlc_evicts_thr" + "arc_reclaim_thread" - high CPU load during poudriere build...
Message-ID:  <bug-224080-3630-0I0d7pAfMe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224080-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224080-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224080

--- Comment #26 from Jeff Roberson <jeff@FreeBSD.org> ---
We can use the new uma limit facility.  I can produce a diff in a couple of
hours.  This is essentially the same thing that kmem_map_free does however:

static int
sysctl_kmem_map_free(SYSCTL_HANDLER_ARGS)
{
        u_long size, limit;

        /* The sysctl is unsigned, implement as a saturation value. */
        size =3D uma_size();
        limit =3D uma_limit();
        if (size > limit)
                size =3D 0;
        else
                size =3D limit - size;
        return (sysctl_handle_long(oidp, &size, 0, req));
}

We should make a uma accessor to compute this.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224080-3630-0I0d7pAfMe>