From owner-freebsd-fs@FreeBSD.ORG Thu Apr 9 13:53:39 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2AF04AE for ; Thu, 9 Apr 2015 13:53:39 +0000 (UTC) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7112AC3B for ; Thu, 9 Apr 2015 13:53:39 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3lN3pn4fY3z6v for ; Thu, 9 Apr 2015 15:53:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla4; t=1428587614; x=1431179615; bh=i+K /618TlrRusUNB6MZ5omgAVBSYjOiJEF31kry11PI=; b=Gu5/wAj+ONomNVbEbaY XCUGhDLpZRPY7MMn4tK5u9nQFUjnT4dW3pVfygcNQbJ6+Pzvuks518KMNCKZ297G Rs1DqJ5h5WaBr+EIwI6gu+RP+BOnA3fC3GamQ6o/C5n4vK+jBASOcF+Xp4RQmSkF HC77u65+EYyCq069F7+/mySk= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10012) with ESMTP id beuwaP5C_xic for ; Thu, 9 Apr 2015 15:53:34 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Thu, 9 Apr 2015 15:53:34 +0200 (CEST) Received: from neli.ijs.si (neli.ijs.si [IPv6:2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by mildred.ijs.si (Postfix) with ESMTP id 3lN3pk4dwPzND for ; Thu, 9 Apr 2015 15:53:34 +0200 (CEST) Received: from neli.ijs.si ([2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by neli.ijs.si with HTTP (HTTP/1.1 POST); Thu, 09 Apr 2015 15:53:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 09 Apr 2015 15:53:34 +0200 From: Mark Martinec To: freebsd-fs@freebsd.org Subject: Re: FreeBSD/ZFS on [HEAD] chews up memory Organization: J. Stefan Institute In-Reply-To: References: Message-ID: <728627c71bbc88bc9a454eda3370e485@mailbox.ijs.si> X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.1.1 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: Thu, 09 Apr 2015 13:53:39 -0000 2015-04-09 15:19, Bob Friesenhahn wrote: > On Thu, 9 Apr 2015, grarpamp wrote: >>> RAM amount might matter too. 12GB vs 32GB is a bit of a difference. >> Allow me to bitch hypothetically... >> We, and I, get that some FS need memory, just like kernel and >> userspace need memory to function. But to be honest, things >> should fail or slow gracefully. Why in the world, regardless of >> directory size, should I ever need to feed ZFS 10GB of RAM? > > From my reading of this list in the past month or so, I have seen > other complaints about memory usage, but also regarding UFS and NFS > and not just ZFS. One is lead to think that the way the system uses > memory for filesystems has changed. > > As others have said, ZFS ARC should automatically diminish, but > perhaps ZFS ARC is not responsible for the observed memory issues. > > Bob I'd really like to see the: [Bug 187594] [zfs] [patch] ZFS ARC behavior problem and fix https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 find its way into 10-STABLE. Things behaved much more sanely some time in 9.*, before the great UMA change took place. Not everyone has dozens of gigabytes of memory. With 16 GB mem even when memory is tight (poudriere build), the wired size seems excessive, most of which is ARC. Mark