From owner-freebsd-fs@FreeBSD.ORG Thu Apr 9 05:19:34 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 B6D358D0 for ; Thu, 9 Apr 2015 05:19:34 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8138139C for ; Thu, 9 Apr 2015 05:19:34 +0000 (UTC) Received: by iget9 with SMTP id t9so42506793ige.1 for ; Wed, 08 Apr 2015 22:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UT3QENfiXodVxOXVlkLWj8g73wadF00fB2GDDhYu/F8=; b=pxffYGYJy0gOOIqOpiUmAxmXNsmernfdzEb1PphJKanchypeuf5xgBHHzi1LAFKRro IGhpUc6tJY1iTLX0H32uMLYcbnE4/KbSM/xtWwU7ZzKabQtF+u8orT3hCV7HsMI1XEBY gQNcwVgEiNj6YZjt++YkvziKjwkslsYg1EutotLYVQTxAtGS9SEaiAwK2cW3mixJScZq lGM4I9Qejw+TTBg5htcB2IlajFqEm0T3rtOsqllWpxkEbyN8nGZRdv/y4YKOUyGH7Y4Y CAoXdC/gvWIOhdQzp5nUYo38aWQULKOmRTebOb3y9H7OupuLXAj59jzA8uKKB0ZxRhtk LmYg== MIME-Version: 1.0 X-Received: by 10.42.137.202 with SMTP id z10mr27771379ict.37.1428556773817; Wed, 08 Apr 2015 22:19:33 -0700 (PDT) Received: by 10.36.51.76 with HTTP; Wed, 8 Apr 2015 22:19:33 -0700 (PDT) Date: Thu, 9 Apr 2015 01:19:33 -0400 Message-ID: Subject: FreeBSD/ZFS on [HEAD] chews up memory From: grarpamp To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 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 05:19:34 -0000 > 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? Notice I snuck in 2GB of that 12-32GB for kernels and users own bloat. Yeah ok, I get FFS DIRHASH, if I don't feed it I simply get a performance hit. But 12+ effing GB for ZFS and 80-90% free or the system crashes hard? WTF people?!?!?! Where have we gone wrong with this design? Where are the BSD principles??? I know I don't have a lot of time to characterize this issue, but I say this because we often keep seeing "add more ram" as the first/common fix, well that's not a real BSD solution. Cheers, mates.