is TMPFS still highly experimental?
Attila Nagy
bra at fsn.hu
Mon Oct 3 11:48:16 UTC 2011
Hi,
On 10/02/11 04:02, Jeremy Chadwick wrote:
> On Sat, Oct 01, 2011 at 06:02:39PM -0700, Xin LI wrote:
>> On Sat, Oct 1, 2011 at 8:48 AM, Chris Rees<crees at freebsd.org> wrote:
>>> I've also not heard of anyone using it with zfs successfully- it tends to
>>> shrink rapidly.
>> I'm quite surprised with this assertion. I use tmpfs on my own system
>> and I never see such problem as long as one have sufficient swap
>> space.
>>
>> Not to say there is no problem --there is no way to say "commit this
>> amount of memory to ZFS" but really I have never hit this exact
>> alleged problem...
> Its been reported multiple times by multiple people, and there has been
> no official word on -fs, -stable, or zfs-devel that this specific
> problem has been fixed:
>
> * miyamoto moesasji
> - 2011/01/01
> - 8.2-PRERELEASE (thus RELENG_8)
> - World/kernel build date unknown
> - http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060850.html
> - http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060852.html
> - http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060860.html
> - http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060861.html
> - Statement from Ivan Voras that it's a known problem:
> - http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060867.html
>
> * Atilla Nagy
> - 2011/01/19
> - 8.2-PRERELEASE (thus RELENG_8)
> - World/kernel build date of 2011/01/08
> - http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010496.html
> - http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010497.html
> - http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010498.html
> - http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010499.html
> - http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010501.html
> - http://lists.freebsd.org/pipermail/freebsd-fs/2011-January/010569.html
> - Ivan Voras mentions a thread he started on -CURRENT circa 2010/11/21
> about this problem:
> http://www.mail-archive.com/freebsd-current@freebsd.org/msg126491.html
>
For me, the bug is still here:
$ uname -a
FreeBSD b 8.2-STABLE FreeBSD 8.2-STABLE #5: Wed Sep 14 15:01:25 CEST
2011 root at buildervm:/data/usr/obj/data/usr/src/sys/BOOTCLNT amd64
$ df -h /tmp
Filesystem Size Used Avail Capacity Mounted on
tmpfs 0B 0B 0B 100% /tmp
I have no swap configured. The machine has 64 GB RAM.
vm.kmem_size=60G; vfs.zfs.arc_max=55G; vfs.zfs.arc_min=20G
More information about the freebsd-fs
mailing list