Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2018 21:19:32 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Lev Serebryakov <lev@FreeBSD.org>, Mark Johnston <markj@freebsd.org>
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>, FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Where is my memory on 'fresh' 11-STABLE? It should be used by ARC, but it is not used for it anymore.
Message-ID:  <92e3ea2e-b7ed-ec26-c56b-2d2acbf41772@grosbein.net>
In-Reply-To: <228548325.20181121170325@serebryakov.spb.ru>
References:  <e2422965-0890-2d15-4716-0a31426b0a66@FreeBSD.org> <20181120204537.GB2630@raichu> <1999292077.20181121135618@serebryakov.spb.ru> <123493949.20181121143445@serebryakov.spb.ru> <baf85324-0d6d-bd4b-385d-8280bc7a93a3@grosbein.net> <228548325.20181121170325@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
21.11.2018 21:03, Lev Serebryakov wrote:

>>>  And here top consumers. I don't like that most of te memory is in FREE
>>> abd_chunks - 8GB!
>>>
>>> USED (b) FREE (b) NAME
>>> 531902464 8392536064 abd_chunk
>> This may be a leak. Can you monitor this value for longer run?
>  No problem.
> 
>  But I don't think it is "true" leak, when memory is NEVER
> freed, as uptime of this box is 11 days already, and sometimes ARC is much
> larger than 2GiB. For example, now it is inflated to 8GiB.
> 
>  Ok, and now it is:
> 
> USED (b) FREE (b) NAME
> 7307493376 2383060992 abd_chunk
> 
>  It is more likely that there is a bug in "priority" for memory
> distribution: abd FREE memory has higher priority than ARC somehow.

OTOH, if "abd_chunks" part of ZFS ARC is not released to the UMA
from which it was allocated (to be reused by other parts of the kernel)
but is reused by ZFS itself, then top(1) should report it as part of ZFS ARC
and not as other "Wired" memory.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92e3ea2e-b7ed-ec26-c56b-2d2acbf41772>