From owner-freebsd-fs@freebsd.org Fri Jun 15 04:18:17 2018 Return-Path: Delivered-To: freebsd-fs@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 3C96F101398D for ; Fri, 15 Jun 2018 04:18:17 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [150.101.137.136]) by mx1.freebsd.org (Postfix) with ESMTP id 72B1E7640C for ; Fri, 15 Jun 2018 04:18:16 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-90-218.bras1.adl6.internode.on.net (HELO leader.local) ([121.45.90.218]) by ipmail01.adl6.internode.on.net with ESMTP; 15 Jun 2018 13:43:04 +0930 Subject: Re: What append when arc full To: Albert Shih Cc: freebsd-fs@freebsd.org References: <20180613200700.GA3156@io.chezmoi.fr> <248ad0be-2002-89b5-0c1a-3ac73d493149@ShaneWare.Biz> <20180614054333.GA7053@io.chezmoi.fr> From: Shane Ambler Message-ID: <8311a9a9-1a14-3520-aea3-8078e99713b9@ShaneWare.Biz> Date: Fri, 15 Jun 2018 13:43:02 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180614054333.GA7053@io.chezmoi.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 04:18:17 -0000 On 14/06/2018 15:13, Albert Shih wrote: > Le 14/06/2018 à 13:06:07+0930, Shane Ambler a écrit >> If you want to keep some ram free for your processes, then you can set >> vfs.zfs.arc_max to limit the ram used by ARC. On recent system versions >> you can change it dynamically using sysctl or you can set it in > > "dynamically" .... I though it's only can set at boot time, at least it's > what > > https://www.freebsd.org/doc/handbook/zfs-advanced.html It seems the handbook has dropped behind. The ability to change arc_max and arc_min at runtime was merged into stable/10 and stable/11 almost two years ago, that means 10.4 and 11.x can do it but 10.3 or older will have to be set in /boot/loader.conf -- FreeBSD - the place to B...Storing Data Shane Ambler