From owner-freebsd-questions@freebsd.org Mon Jun 18 16:45:30 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 99D5E1012345 for ; Mon, 18 Jun 2018 16:45:30 +0000 (UTC) (envelope-from bob@rancor.immure.com) Received: from rancor.immure.com (108-84-10-9.lightspeed.austtx.sbcglobal.net [108.84.10.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "darth.immure.com", Issuer "darth.immure.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C4F0873D5 for ; Mon, 18 Jun 2018 16:45:29 +0000 (UTC) (envelope-from bob@rancor.immure.com) Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.15.2/8.15.2) with ESMTPS id w5IGOJZ6051536 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 18 Jun 2018 11:24:19 -0500 (CDT) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.15.2/8.15.2/Submit) id w5IGOJJ8051535 for freebsd-questions@freebsd.org; Mon, 18 Jun 2018 11:24:19 -0500 (CDT) (envelope-from bob) Date: Mon, 18 Jun 2018 11:24:19 -0500 From: Bob Willcox To: questions list Subject: Limiting ZFS ARC Size? Message-ID: <20180618162419.GA41031@rancor.immure.com> Reply-To: Bob Willcox MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) 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 16:45:30 -0000 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. bob@tavion:13 /home/bob> uname -a FreeBSD tavion.austin.ibm.com 12.0-CURRENT FreeBSD 12.0-CURRENT #3 r335222: Fri Jun 15 13:40:49 CDT 2018 bob@tavion.austin.ibm.com:/usr/obj/usr/src/amd64.amd64/sys/TAVION amd64 I would like to be able to limit how much memory ZFS grabs for this cache? Thanks for any help/pointers! Bob -- Bob Willcox | Isn't air travel wonderful? bob@immure.com | Breakfast in London, dinner in New York, Austin, TX | luggage in Brazil.