From owner-freebsd-fs@FreeBSD.ORG Sun Oct 2 10:24:00 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 49828106566B; Sun, 2 Oct 2011 10:24:00 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id CC3A98FC08; Sun, 2 Oct 2011 10:23:59 +0000 (UTC) Received: by qyk10 with SMTP id 10so1530878qyk.13 for ; Sun, 02 Oct 2011 03:23:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.92.10 with SMTP id p10mr10117468qcm.183.1317551038221; Sun, 02 Oct 2011 03:23:58 -0700 (PDT) Received: by 10.229.223.196 with HTTP; Sun, 2 Oct 2011 03:23:58 -0700 (PDT) In-Reply-To: References: Date: Sun, 2 Oct 2011 12:23:58 +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, Adrian Chadd , delphij@freebsd.org 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: Sun, 02 Oct 2011 10:24:00 -0000 2011/10/2 Xin LI : > Hi, > > On Sat, Oct 1, 2011 at 8:48 AM, Chris Rees wrote: >> I've also not heard of anyone using it with zfs successfully- it tends t= o >> shrink rapidly. > > I'm quite surprised with this assertion. =A0I use tmpfs on my own system > and I never see such problem as long as one have sufficient swap > space. The problem here is "sufficient swap space". I've got 8G of RAM, and 2G of swap (just in case). When the ZFS ARC reaches 4G, there's no room for a single byte in tmpfs, even with 2G swap free and at least 2-3G RAM free. The swap size must be at least the RAM size if you plan on using ZFS and tmpfs. That's a problem for me because I'm short on disk space, and there's no point in having an enormous swap size (hey, minidumps !) when you already have lots of RAM, which is the case in most ZFS installs. Cheers > Not to say there is no problem --there is no way to say "commit this > amount of memory to ZFS" but really I have never hit this exact > alleged problem... > > Cheers, > -- > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > --=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."