From owner-freebsd-fs@FreeBSD.ORG Tue Aug 24 21:06:21 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 C5C1410656AA for ; Tue, 24 Aug 2010 21:06:21 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 55D9E8FC1A for ; Tue, 24 Aug 2010 21:06:20 +0000 (UTC) Received: by gxk24 with SMTP id 24so3215200gxk.13 for ; Tue, 24 Aug 2010 14:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=k/br++JWrP0uyPg9cOh6Gl2SeaMf0l2Zw81S6Xrk5rg=; b=D47il3tW4h6lsheFRKWMuHDyR4nU0zwTEECXk/6Lv4p3gWKVL2kjNVN8sk49V/0G9v /sJ5lDgYl0JHFkHqrHQM9EhJLN8Pxtsmjcz0MXV1W/Xd7OXLMqTQhnpxn437O5bGYPYv 9jtA4VPdX28rC77gYETBdLJW/f8ZlaxxDaDrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=rF+wQ7HH4CfIpZs/VRo/Bcl3kPmm4Q+hiFoR2gh7ByR71MBdf/4r6a+0zttBEaQ6y/ /tPQehSWsSeDy4rrsZuW0XwC+XTwCGXgayonlh/U+jVi8G8gHI+QQXAFQ2fiDUZ/bwH7 ZkNVjy2fUXWLl0vzyIXSLr50+wFHx2AxjWnHM= MIME-Version: 1.0 Received: by 10.151.109.12 with SMTP id l12mr3686598ybm.388.1282683980366; Tue, 24 Aug 2010 14:06:20 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.220.49.70 with HTTP; Tue, 24 Aug 2010 14:06:20 -0700 (PDT) In-Reply-To: <4C742C8F.2030401@icyb.net.ua> 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> <4C742C8F.2030401@icyb.net.ua> Date: Tue, 24 Aug 2010 14:06:20 -0700 X-Google-Sender-Auth: PYQdY2nc_4YUeO4nCrXKCnSIpKU Message-ID: From: Artem Belevich To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.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:06:21 -0000 I've tried the change on my ZFS-only 8-stable box which has v15+metaslab patches applied and so far it seems to work OK under memory shortage. As intended ZFS does not start giving up memory until pagedaemon wakes up. I'll bang on the box some more through the week. --Artem 2010/8/24 Andriy Gapon : > on 24/08/2010 23:05 Peter Jeremy said the following: >> 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 >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D146410 ). >>> >>> Thanks, cou you please send it in a non-QP-encoded form please? >> >> See attached. >>>> 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 = interestng for those of use running full-zfs (cf. http://www.keltia.net/how= tos/zfsboot)? >> >> I think it will be useful. =A0As 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. =A0In theory, this should improve overall system performance >> even in a ZFS-only environment where there is memory pressure due to >> large, long-running processes > > Peter, Ollivier, > > would it be possible for you to test patch informally specified in the fo= llowing > post? > http://thread.gmane.org/gmane.os.freebsd.devel.hackers/40788 > > -- > Andriy Gapon > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >