From owner-freebsd-fs@FreeBSD.ORG Tue Aug 24 21:11:41 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E7141065679 for ; Tue, 24 Aug 2010 21:11:41 +0000 (UTC) (envelope-from marco@tolstoy.tols.org) Received: from tolstoy.tols.org (tolstoy.tols.org [IPv6:2a02:898:0:20::57:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC328FC1E for ; Tue, 24 Aug 2010 21:11:40 +0000 (UTC) Received: from tolstoy.tols.org (localhost [127.0.0.1]) by tolstoy.tols.org (8.14.4/8.14.4) with ESMTP id o7OLBbOg018241 for ; Tue, 24 Aug 2010 21:11:37 GMT (envelope-from marco@tolstoy.tols.org) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.96.1 at tolstoy.tols.org Received: (from marco@localhost) by tolstoy.tols.org (8.14.4/8.14.4/Submit) id o7OLBbNM018240 for freebsd-fs@freebsd.org; Tue, 24 Aug 2010 23:11:37 +0200 (CEST) (envelope-from marco) Date: Tue, 24 Aug 2010 23:11:37 +0200 From: Marco van Tol To: freebsd-fs@freebsd.org Message-ID: <20100824211136.GA18104@tolstoy.tols.org> Mail-Followup-To: freebsd-fs@freebsd.org References: <20100810214418.GA28288@tolstoy.tols.org> <20100811014919.GA52992@icarus.home.lan> <20100811192537.GA44635@tolstoy.tols.org> <20100811214302.GB44635@tolstoy.tols.org> <20100812205625.GA79515@server.vk2pj.dyndns.org> <20100824150035.GB99477@roberto-al.eurocontrol.fr> <20100824200527.GC11990@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <20100824200527.GC11990@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on tolstoy.tols.org Subject: Re: zfs arc - just take it all and be good to me X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 21:11:41 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 25, 2010 at 06:05:27AM +1000, Peter Jeremy wrote: > On 2010-Aug-24 17:00:36 +0200, Ollivier Robert wrote: > >According to Peter Jeremy: > >> I suspect Artem is referring to his patch at http://pastebin.com/ZCkzk= Wcs > >> which I have tweaked somewhat (see the last patch in=20 > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D146410 ). > > > >Thanks, cou you please send it in a non-QP-encoded form please? >=20 > See attached. >=20 > >> Whilst these patches _are_ hacks, they seem to do a good job of > >> making ZFS and UFS play together. > > > >Is the patch only useful in these mixed situations or could it be also i= nterestng for those of use running full-zfs (cf. http://www.keltia.net/howt= os/zfsboot)? >=20 > I think it will be useful. As well as the trivial fix to count > "cache" as "free" space (which is now in -stable), the intent of the > patch is to improve the ability of ZFS to apply pressure to the VM > subsystem. In theory, this should improve overall system performance > even in a ZFS-only environment where there is memory pressure due to > large, long-running processes Would the inactive pages of the long running processes be swapped out in favour of the arc? That would be great I think as long as that is made clear at an obvious place so people don't get worried about swap usage on a system that "shouldn't need to swap out anything". /usr/src/UPDATING springs to mind, together with quick hints on how to see that the swapped out pages are harmless. :) Marco van Tol P.S. Forgive me if what I say is bs, within what I know it makes sense. :) --=20 A male gynecologist is like an auto mechanic who never owned a car. - Carrie Snow --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkx0NYcACgkQbdVEUcCKvoLYHACgvutHMn7h5i/Z0w4yRTlvPA6a Gj0An2f/1OkN8d9adcxHN95rB5b50tUR =NyDj -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--