From owner-freebsd-current@FreeBSD.ORG Tue May 19 03:12:54 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2E71065670 for ; Tue, 19 May 2009 03:12:54 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id AC6878FC17 for ; Tue, 19 May 2009 03:12:53 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so2249348ywe.13 for ; Mon, 18 May 2009 20:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=6YHOxTC2JB1Oesiv0Va/w6M6jn1oubJFrJLFTo6r7xU=; b=DO3dVKrQ5s/zZegLK/hMcSkqhfTjhrOfmIhNEHa8mvahehn3NcPaYc+QqOI+/V0/az quBv4scqsjEmya1XyJ2wokg45GbrnqeHPOmFh0ozp70CrBRrb8isPIAMw3Yv0+kkoLUU fOCGFxCpqYl0JqhCcBCgGLDAXK+SMPtsVvl5M= 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=SVIbGslRbvLzTvHJ8WedCf64WJdWQsqW03kBmAxOyrPJVT9wZNVq7QyTf8peJsUSBR GVKfvfiOwVcotzZZVVLzOd/Lp0AxnWkeeVPvCOCOHx8HONDN/WDRMNNkvmHuaUv4NhAb 0pNmH/YnJ6/jFhT0VCLsydMoaZz9Jser9jbhg= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.166.13 with SMTP id o13mr10008059ane.103.1242702773075; Mon, 18 May 2009 20:12:53 -0700 (PDT) In-Reply-To: <68B339AA-75CF-41FC-9E09-81D20D6F1FBA@wanderview.com> References: <20090518145614.GF82547@egr.msu.edu> <3c1674c90905181659g1d20f0f1w3f623966ae4440ec@mail.gmail.com> <20090519012202.GR82547@egr.msu.edu> <3c1674c90905181826p787a346cie90429324444a9c4@mail.gmail.com> <1F20825F-BD11-40D1-9024-07F6E707DD08@wanderview.com> <3c1674c90905181945g179173b9rb064e8b37ba7148@mail.gmail.com> <68B339AA-75CF-41FC-9E09-81D20D6F1FBA@wanderview.com> Date: Mon, 18 May 2009 20:12:53 -0700 X-Google-Sender-Auth: 78f791a6d5867fd1 Message-ID: <3c1674c90905182012g63c3010bjf9cd7f0a2104966c@mail.gmail.com> From: Kip Macy To: Ben Kelly Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Adam McDougall , current@freebsd.org, Larry Rosenman Subject: Re: Fatal trap 12: page fault panic with recent kernel with ZFS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 03:12:54 -0000 > =A0http://www.wanderview.com/svn/public/misc/zfs/zfs_kmem_limit.diff > > But I trigger it based on kmem thresholds. =A0See arc_reclaim_pages(). > > I can try to put together a smaller patch tomorrow evening that signals t= he > pager based on size vs. c target. =A0The main reason I didn't implement i= t in > my previous patch was because I was concerned with the arc being prevente= d > from growing at all once its been shrunk. =A0It only grows when size exce= eds > its current target by a certain amount. =A0This may require some careful > balancing or hysteresis or something. > I was actually referring to your comment about telling the ARC to tell ZFS to reclaim cached vnodes. Not that the kmem changes aren't good, but I don't think they're necessary on amd64. Cheers, Kip