From owner-freebsd-current@FreeBSD.ORG Thu Jun 23 18:44:03 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA5F310656E5 for ; Thu, 23 Jun 2011 18:44:03 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 877348FC1A for ; Thu, 23 Jun 2011 18:44:00 +0000 (UTC) Received: by pvg11 with SMTP id 11so1785234pvg.13 for ; Thu, 23 Jun 2011 11:44:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.23.100 with SMTP id l4mr1250886pbf.358.1308854640527; Thu, 23 Jun 2011 11:44:00 -0700 (PDT) Received: by 10.68.50.166 with HTTP; Thu, 23 Jun 2011 11:44:00 -0700 (PDT) In-Reply-To: <4E038357.6030505@ipfw.ru> References: <20110623163109.GA508@dragon.NUXI.org> <4E038357.6030505@ipfw.ru> Date: Thu, 23 Jun 2011 20:44:00 +0200 Message-ID: From: Olivier Smedts To: "Alexander V. Chernikov" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, mj@feral.com Subject: Re: Thoughts on TMPFS no longer being considered "highly experimental" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 18:44:03 -0000 2011/6/23 Alexander V. Chernikov : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Jacob wrote: >> >> I gave up on using it after a brief try earlier this year. I can't >> remember the details, but it did lock up my amd64 system. >> >> On Thu, 23 Jun 2011, David O'Brien wrote: >> >>> Does anyone object to this patch? >>> >>> David Wolfskill and I have run TMPFS on a number of machines for two >>> years with no problems. >>> >>> I may have missed something, but I'm not aware of any serious PRs on >>> TMPFS either. > > There was some issues with sendfile(2) and mmap(2) causing kernel hangs > in some cases. vim triggers such hangs for me. However, those problems > were fixed and MFCed (afair). > > I'm using tmpfs on several machines in production without any problems. > Maybe being _highly_ experimental for nearly 4 years is enough? :) I think there are still problems with high wired memory consumers like ZFS. I've got 0-sized tmpfs with 8GB RAM + ZFS with 4GB ARC + 4GB swap. >>> >>> >>> Index: tmpfs_vfsops.c >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> --- tmpfs_vfsops.c =A0 =A0(revision 221113) >>> +++ tmpfs_vfsops.c =A0 =A0(working copy) >>> @@ -155,9 +155,6 @@ tmpfs_mount(struct mount *mp) >>> =A0 =A0 =A0 =A0 return EOPNOTSUPP; >>> =A0 =A0 } >>> >>> - =A0 =A0printf("WARNING: TMPFS is considered to be a highly experiment= al " >>> - =A0 =A0 =A0 =A0"feature in FreeBSD.\n"); >>> - >>> =A0 =A0 vn_lock(mp->mnt_vnodecovered, LK_SHARED | LK_RETRY); >>> =A0 =A0 error =3D VOP_GETATTR(mp->mnt_vnodecovered, &va, mp->mnt_cred); >>> =A0 =A0 VOP_UNLOCK(mp->mnt_vnodecovered, 0); >>> >>> -- >>> -- David =A0(obrien@FreeBSD.org) >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to >>> "freebsd-current-unsubscribe@freebsd.org" >>> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk4Dg1cACgkQwcJ4iSZ1q2m3uACfcUoGrQeAZdAHDm8VnbKInzWI > gIoAn3SMoNAdABZ39GHS6HSyIHLXGNIt > =3DaXnk > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-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."