From owner-freebsd-questions@freebsd.org Mon Jun 18 17:01:16 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8DA01012F06 for ; Mon, 18 Jun 2018 17:01:16 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5022F87C1B for ; Mon, 18 Jun 2018 17:01:15 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w5IH1C0H070013 for ; Mon, 18 Jun 2018 18:01:12 +0100 (BST) (envelope-from frank2@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 18 Jun 2018 18:01:11 +0100 From: Frank Leonhardt To: freebsd-questions@freebsd.org Subject: Re: Limiting ZFS ARC =?UTF-8?Q?Size=3F?= Organization: FJL Microsystems In-Reply-To: <20180618162419.GA41031@rancor.immure.com> References: <20180618162419.GA41031@rancor.immure.com> Message-ID: X-Sender: frank2@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 17:01:17 -0000 On 2018-06-18 17:24, Bob Willcox wrote: > Is there a way to limit the size of the ZFS ARC cache? I am running a > 12-current system with 32GB of memory and the ZFS ARC grows to a hughe > size, > to the point where my running processes (such as firefox) start page > thrashing. The sysctl variables vfs.zfs.arc_min and vfs.zfs.arc_max may very well be what you're looking for. Regards, Frank.