From owner-freebsd-fs@FreeBSD.ORG Sun Apr 12 03:49:21 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15A264A4 for ; Sun, 12 Apr 2015 03:49:21 +0000 (UTC) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id A1778C9 for ; Sun, 12 Apr 2015 03:49:20 +0000 (UTC) Received: from ppp118-210-45-229.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.45.229]) by ipmail04.adl6.internode.on.net with ESMTP; 12 Apr 2015 13:19:15 +0930 Message-ID: <5529EB3A.8050508@ShaneWare.Biz> Date: Sun, 12 Apr 2015 13:19:14 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Matthias Gamsjager , freebsd-fs@freebsd.org Subject: Re: FreeBSD/ZFS on [HEAD] chews up memory References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2015 03:49:21 -0000 On 09/04/2015 20:41, Matthias Gamsjager wrote: > When you decided to use ZFS did you read up on the design of it? Most > of the RAM goes to ARC which caches all the read files for you. > Beside that you can tame the ARC with parameters and FreeBSD should > shrink the ARC when more memory is needed. That isn't the issue on 10.1 I have 8GB RAM and have set arc_max to 2G - 3 disk raidz Booting my machine with 10.1-RELEASE into single user mode and writing to disk can take wired up to 7G which locks up the machine and only takes 10 mins Even running a recent 10-STABLE build I can get over 6GB wired, but now I can allocate ram to pressure out the wired allocation, the arc amount reported in top stays relatively stable during this time. -- FreeBSD - the place to B...Storing Data Shane Ambler