Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2011 20:44:00 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        "Alexander V. Chernikov" <melifaro@ipfw.ru>
Cc:        freebsd-current@freebsd.org, mj@feral.com
Subject:   Re: Thoughts on TMPFS no longer being considered "highly experimental"
Message-ID:  <BANLkTimjKGwGcmiaeXpXZC9U1%2Bf0XDsU=Q@mail.gmail.com>
In-Reply-To: <4E038357.6030505@ipfw.ru>
References:  <20110623163109.GA508@dragon.NUXI.org> <alpine.BSF.2.00.1106231007140.21759@ns1.feral.com> <4E038357.6030505@ipfw.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/6/23 Alexander V. Chernikov <melifaro@ipfw.ru>:
> -----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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimjKGwGcmiaeXpXZC9U1%2Bf0XDsU=Q>