Thoughts on TMPFS no longer being considered "highly experimental"

Olivier Smedts olivier at gid0.org
Thu Jun 23 18:44:03 UTC 2011


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)
>>> @@ -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 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."


More information about the freebsd-current mailing list