From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 23 06:12:58 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F26E1065673; Mon, 23 Aug 2010 06:12:58 +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 CC7988FC17; Mon, 23 Aug 2010 06:12:54 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA11269; Mon, 23 Aug 2010 09:12:51 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OnQH5-000Dm3-56; Mon, 23 Aug 2010 09:12:51 +0300 Message-ID: <4C721161.40403@freebsd.org> Date: Mon, 23 Aug 2010 09:12:49 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Artem Belevich References: <4C719AB9.9020006@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, zfs-devel@freebsd.org Subject: Re: ZFS arc_reclaim_needed: better cooperation with pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 06:12:58 -0000 on 23/08/2010 02:52 Artem Belevich said the following: > Do you by any chance have a graph showing kstat.zfs.misc.arcstats.size > behavior in addition to the stuff included on your graphs now? Yes, I do and not by a chance :-) > All I > can tell from your graphs is that v_free_count+v_cache_count shifted a > bit lower relative to v_free_target+v_cache_min. Don't belittle those graphs :-) Remember that the "fuchsia" line is when pagedaemon is woken up. > It would be > interesting to see what effect your patch has on ARC itself, > especially when ARC will start giving up memory and when does it stop > shrinking. In an extreme case it stops at arc_c_min as expected. An extreme case is when userland application(s) demand a lot of memory fast. Now the graphs: http://people.freebsd.org/~avg/arc1.png http://people.freebsd.org/~avg/arc2.png http://people.freebsd.org/~avg/pages.png http://people.freebsd.org/~avg/arc3.png What do you see? What do you think? -- Andriy Gapon