From owner-freebsd-stable@FreeBSD.ORG Tue Feb 7 15:51:51 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52DA91065670 for ; Tue, 7 Feb 2012 15:51:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9F99E8FC19 for ; Tue, 7 Feb 2012 15:51:50 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA22676; Tue, 07 Feb 2012 17:51:46 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <4F314892.50806@FreeBSD.org> Date: Tue, 07 Feb 2012 17:51:46 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120111 Thunderbird/9.0 MIME-Version: 1.0 To: "Eugene M. Zheganin" References: <4F30E284.8080905@norma.perm.ru> <4F310115.3070507@FreeBSD.org> <4F310C5A.6070400@norma.perm.ru> <4F310E75.7090301@FreeBSD.org> <4F3144A9.2000505@norma.perm.ru> In-Reply-To: <4F3144A9.2000505@norma.perm.ru> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org Subject: Re: zfs arc and amount of wired memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 15:51:51 -0000 on 07/02/2012 17:35 Eugene M. Zheganin said the following: > Okay, thank you once again, it made me more clear what is happening to the memory: > > > System Memory: > > 4.39% 172.47 MiB Active, 0.29% 11.53 MiB Inact > 90.68% 3.48 GiB Wired, 3.54% 138.98 MiB Cache > 0.10% 4.12 MiB Free, 0.99% 39.07 MiB Gap > > Real Installed: 4.00 GiB > Real Available: 99.61% 3.98 GiB > Real Managed: 96.31% 3.84 GiB > > Logical Total: 4.00 GiB > Logical Used: 96.22% 3.85 GiB > Logical Free: 3.78% 154.63 MiB > > Kernel Memory: 393.82 MiB > Data: 96.14% 378.63 MiB > Text: 3.86% 15.20 MiB > > Kernel Memory Map: 2.68 GiB > Size: 9.82% 269.77 MiB > Free: 90.18% 2.42 GiB > > Looks like most of the 'wired' space is makred in kernel as free, though still > 'wired', and thus for me it doesn't look that free as 'free' or 'inactive', and, > as the paged out amount continues to grow, I want to ask if there's a way to make > this address space availabe to a userland processes ? I am not sure that these conclusions are correct. Wired is wired, it's not free. BTW, are you reluctant to share the full zfs-stats -a output? You don't have to place it inline, you can upload it somewhere and provide a link. -- Andriy Gapon