From owner-freebsd-fs@FreeBSD.ORG Tue Oct 4 14:19:05 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6836106564A; Tue, 4 Oct 2011 14:19:05 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 55F6A8FC0C; Tue, 4 Oct 2011 14:19:04 +0000 (UTC) Received: by qadz30 with SMTP id z30so469734qad.13 for ; Tue, 04 Oct 2011 07:19:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.12.139 with SMTP id x11mr1035418qcx.105.1317737944384; Tue, 04 Oct 2011 07:19:04 -0700 (PDT) Received: by 10.229.224.82 with HTTP; Tue, 4 Oct 2011 07:19:04 -0700 (PDT) In-Reply-To: References: <20111002020231.GA70864@icarus.home.lan> Date: Tue, 4 Oct 2011 16:19:04 +0200 Message-ID: From: Olivier Smedts To: Xin LI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-fs@freebsd.org" , Ivan Voras Subject: Re: is TMPFS still highly experimental? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 14:19:05 -0000 2011/10/4 Xin LI : > On Mon, Oct 3, 2011 at 2:36 PM, Olivier Smedts wrote: > [...] >> Try reducing the swap size to less than the RAM size. No "configuration >> issue", try with some RAM + swap that should fit all. > > But it's not ZFS+tmpfs specific, it can happen anywhere when memory > and swap is not sufficient. =A0Of course tmpfs and ZFS should play more > well together but it's pretty much a "you get what you paid for" > situation IMHO. But there's a problem in this configuration and when memory and swap are sufficient (swap free, some RAM free). tmpfs size drops to 0 because it does not seem to calculate the free size correctly. If there is sufficient RAM (some RAM free), sufficient swap (all free) but less swap than RAM, and wired memory usage is high (ZFS ARC), tmpfs size drops to 0. > One thing I can not yet reproduce, but sounds like a serious issue is > that when system have sufficient RAM available, ZFS reports 0 in free > space... =A0If there is a test case for that then that's definitely > something we need to solve sooner. > > Cheers, > -- > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."