From owner-freebsd-fs@freebsd.org Wed Nov 21 14:53:15 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8F69113B4EC; Wed, 21 Nov 2018 14:53:14 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7241483BB0; Wed, 21 Nov 2018 14:53:14 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:310b:1d84:68df:8590]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 9E2821ABC; Wed, 21 Nov 2018 17:53:06 +0300 (MSK) Date: Wed, 21 Nov 2018 17:53:06 +0300 From: Lev Serebryakov Reply-To: Lev Serebryakov Organization: FreeBSD Message-ID: <807023120.20181121175306@serebryakov.spb.ru> To: Eugene Grosbein , Mark Johnston CC: FreeBSD FS , FreeBSD stable Subject: Re: Where is my memory on 'fresh' 11-STABLE? It should be used by ARC, but it is not used for it anymore. In-Reply-To: <92e3ea2e-b7ed-ec26-c56b-2d2acbf41772@grosbein.net> References: <20181120204537.GB2630@raichu> <1999292077.20181121135618@serebryakov.spb.ru> <123493949.20181121143445@serebryakov.spb.ru> <228548325.20181121170325@serebryakov.spb.ru> <92e3ea2e-b7ed-ec26-c56b-2d2acbf41772@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 7241483BB0 X-Spamd-Result: default: False [0.27 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.08)[0.084,0]; NEURAL_HAM_LONG(-0.23)[-0.235,0]; NEURAL_SPAM_MEDIUM(0.42)[0.416,0]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 14:53:15 -0000 Hello Eugene, Wednesday, November 21, 2018, 5:19:32 PM, you wrote: >> 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. It will be better to system use this memory for ARC and not as "Free" chunks for future usage :-) -- Best regards, Lev mailto:lev@FreeBSD.org