From owner-freebsd-fs@FreeBSD.ORG Tue Aug 24 21:07:53 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 4E9E010656A7 for ; Tue, 24 Aug 2010 21:07:53 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id EC63E8FC0A for ; Tue, 24 Aug 2010 21:07:52 +0000 (UTC) Received: by qwg5 with SMTP id 5so7307556qwg.13 for ; Tue, 24 Aug 2010 14:07:52 -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=ScXtju+7B00wTdGhS+u3Wc8lnN2lJgNtJyVM77jWx/BYbItD9hgLtvGclYr4MUDtJJ vlfgK4FOC3gLSnzv9Vy2puIlQliBLuMZsWgGg3vsUK/LLujuoxdFd7LJjKUIvOmfi/lh qeE3TN3Ydm4PQtOZUjAiN9yh968YaPLRD+P2U= 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=W7Tk8Nbwlh5Q/eatOUPdzlTsxapxfyFrvLEgu+FVWInMGzfkMpisMhRnBmjCjLf7KQ y8GTqTHXBYA1UR8xGB8QcYZVZX2S/I75JeTOBRjx1jSEXlmMZsr9fr2SgiNerqyah1UI z2nICSux3geTBq8kvLfQcat3TOiU6+UYd1GOA= MIME-Version: 1.0 Received: by 10.229.235.146 with SMTP id kg18mr3113027qcb.205.1282684070692; Tue, 24 Aug 2010 14:07:50 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.220.49.70 with HTTP; Tue, 24 Aug 2010 14:07:50 -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:07:50 -0700 X-Google-Sender-Auth: mV_SLbVnr237UvTZAtMN67xSra4 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:07:53 -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" >