Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 13:47:59 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Steven Hartland <killing@multiplay.co.uk>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: r273165. ZFS ARC: possible memory leak to Inact
Message-ID:  <201411111347.59169.jhb@freebsd.org>
In-Reply-To: <5459F372.1010405@FreeBSD.org>
References:  <5458c456.25b9340a.54d5.6310SMTPIN_ADDED_BROKEN@mx.google.com> <5458CCB6.7020602@multiplay.co.uk> <5459F372.1010405@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, November 05, 2014 4:52:50 am Andriy Gapon wrote:
> On 04/11/2014 14:55, Steven Hartland wrote:
> > This is likely spikes in uma zones used by ARC.
> > 
> > The VM doesn't ever clean uma zones unless it hits a low memory condition, 
which
> > explains why your little script helps.
> > 
> > Check the output of vmstat -z to confirm.
> 
> Steve,
> 
> this is nonsense :-)  You know perfectly well that UMA memory is Wired not 
Inactive.

Grab the code at www.freebsd.org/~jhb/vm_objects/.  Build and load the kld and 
then use the vm_objects binary to generate a list of the active VM objects in 
the system along with counts of how many active / inactive pages each object 
contains.  For your case with lots of inactive memory, you probably want 
something like 'vm_objects | sort -n -k 2'.

-- 
John Baldwin



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