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
>>> ===================================================================
>>> --- tmpfs_vfsops.c (revision 221113)
>>> +++ tmpfs_vfsops.c (working copy)
>>> @@ -155,9 +155,6 @@ tmpfs_mount(struct mount *mp)
>>> return EOPNOTSUPP;
>>> }
>>>
>>> - printf("WARNING: TMPFS is considered to be a highly experimental "
>>> - "feature in FreeBSD.\n");
>>> -
>>> vn_lock(mp->mnt_vnodecovered, LK_SHARED | LK_RETRY);
>>> error = VOP_GETATTR(mp->mnt_vnodecovered, &va, mp->mnt_cred);
>>> VOP_UNLOCK(mp->mnt_vnodecovered, 0);
>>>
>>> --
>>> -- David (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.org"
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk4Dg1cACgkQwcJ4iSZ1q2m3uACfcUoGrQeAZdAHDm8VnbKInzWI
> gIoAn3SMoNAdABZ39GHS6HSyIHLXGNIt
> =aXnk
> -----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"
>
--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: olivier@gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
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>
