From owner-freebsd-fs@FreeBSD.ORG Sun Oct 2 05:27:20 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 B1966106564A; Sun, 2 Oct 2011 05:27:20 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 384068FC0C; Sun, 2 Oct 2011 05:27:19 +0000 (UTC) Received: by gyf2 with SMTP id 2so3281698gyf.13 for ; Sat, 01 Oct 2011 22:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=xE6y2YbM49+7Sy0xwMNvR8qWYLtx6cgzFYUb+nWlODg=; b=llYTRsPzoyUfTOLtR1fI5svGZnerj0+a4xnpvZznKKAcmhZ8D2G8B+x2wHCzI7iPTn XlUy+5WcZwnh+It0yanHNREVb6mCaZBRJ+V00z7KsVS++FTidzIh1oFLBjGcwgW+EROU Cz7q0NYjKqK6Ifo120ou4niDck8A4q9S1M8Uc= MIME-Version: 1.0 Received: by 10.150.238.18 with SMTP id l18mr4463389ybh.335.1317533238350; Sat, 01 Oct 2011 22:27:18 -0700 (PDT) Received: by 10.151.145.18 with HTTP; Sat, 1 Oct 2011 22:27:18 -0700 (PDT) In-Reply-To: <20111002020231.GA70864@icarus.home.lan> References: <20111002020231.GA70864@icarus.home.lan> Date: Sat, 1 Oct 2011 22:27:18 -0700 Message-ID: From: Xin LI To: Jeremy Chadwick Content-Type: text/plain; charset=UTF-8 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 05:27:20 -0000 On Sat, Oct 1, 2011 at 7:02 PM, Jeremy Chadwick wrote: > On Sat, Oct 01, 2011 at 06:02:39PM -0700, Xin LI wrote: >> 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= to >> > shrink rapidly. >> >> I'm quite surprised with this assertion. =C2=A0I use tmpfs on my own sys= tem >> and I never see such problem as long as one have sufficient swap >> space. >> >> 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... > > Its been reported multiple times by multiple people, and there has been > no official word on -fs, -stable, or zfs-devel that this specific > problem has been fixed: > > * miyamoto moesasji > =C2=A0- 2011/01/01 > =C2=A0- 8.2-PRERELEASE (thus RELENG_8) > =C2=A0- World/kernel build date unknown > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/06= 0850.html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/06= 0852.html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/06= 0860.html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/06= 0861.html > =C2=A0- Statement from Ivan Voras that it's a known problem: > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/06= 0867.html > > * Atilla Nagy > =C2=A0- 2011/01/19 > =C2=A0- 8.2-PRERELEASE (thus RELENG_8) > =C2=A0- World/kernel build date of 2011/01/08 > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010496= .html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010497= .html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010498= .html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010499= .html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010501= .html > =C2=A0- http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010569= .html > =C2=A0- Ivan Voras mentions a thread he started on -CURRENT circa 2010/11= /21 > =C2=A0 =C2=A0about this problem: > =C2=A0 =C2=A0http://www.mail-archive.com/freebsd-current@freebsd.org/msg1= 26491.html > > * Michael Loftis > =C2=A0- 2009/12/08 > =C2=A0- FreeBSD 8.0-RELEASE (RELENG_8_0) > =C2=A0- World/kernel build date of 2009/11/21 > =C2=A0- Might be a different problem altogether, but tmpfs is explicitly > =C2=A0 =C2=A0mentioned in the fix/commit text from avg@ > =C2=A0- http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/141305 > > Plus Chris Rees' report. =C2=A0So that makes 3, possibly 4 if you conside= r > the PR from Michael Loftis. > > Possibly it has something to do with the exact FreeBSD version they're > using. =C2=A0Not just version (e.g. 8.2-RELEASE vs. 8.2-STABLE), but also > kernel/world build date -- because as we've established, ZFS changes are > happening all the time and there is very little transparency when it > comes to communicating these changes to the community. > > Maybe the problem has been fixed in RELENG_8 sometime after 2011/01/08, > but we do not know. =C2=A0ZFS committers would need to help. =C2=A0Else, = folks > should be reaching out to the first two people I mentioned above and > asking if they can reproduce the problem on present-day RELENG_8. The problem Ivan have asserted was not confirmed by anyone who have swap configured properly. Gleb have pointed out that it might be related to a series of integer overflow by the way (he have also fixed a lot of tmpfs issues by the way). Cheers, --=20 Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die