Where is my memory on 'fresh' 11-STABLE? It should be used by ARC, but it is not used for it anymore.
Eugene Grosbein
eugen at grosbein.net
Wed Nov 21 14:19:47 UTC 2018
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.
More information about the freebsd-fs
mailing list