Re: Thoughts on TMPFS no longer being considered "highly experimental"

From: Olivier Smedts <olivier_at_gid0.org>
Date: Thu, 23 Jun 2011 20:44:00 +0200
2011/6/23 Alexander V. Chernikov <melifaro_at_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)
>>> _at__at_ -155,9 +155,6 _at__at_ 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_at_FreeBSD.org)
>>> _______________________________________________
>>> freebsd-current_at_freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to
>>> "freebsd-current-unsubscribe_at_freebsd.org"
>>>
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier_at_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."
Received on Thu Jun 23 2011 - 16:44:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC