Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2011 12:23:58 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        Xin LI <delphij@gmail.com>
Cc:        freebsd-fs@freebsd.org, Adrian Chadd <adrian@freebsd.org>, delphij@freebsd.org
Subject:   Re: is TMPFS still highly experimental?
Message-ID:  <CABzXLYOuunKT6pQ3Jpb4J10LHvyKHEuom47s2%2B5D7vXZczYw7A@mail.gmail.com>
In-Reply-To: <CAGMYy3ssi%2BkAuufDTHA1z6u7jRrZwRRkCCkcO94GHNGF9Rku_w@mail.gmail.com>
References:  <CAOfDtXMm9K_fbOmvG2gvXxDfKakkgpPt9MLifqDxa4wCibMExg@mail.gmail.com> <alpine.GSO.1.10.1110011122030.882@multics.mit.edu> <CADLo83-s_3H8PbbxOPPxbe0m10U0U5JW-feB294dFs%2BQ3iTWvg@mail.gmail.com> <CAGMYy3ssi%2BkAuufDTHA1z6u7jRrZwRRkCCkcO94GHNGF9Rku_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/10/2 Xin LI <delphij@gmail.com>:
> Hi,
>
> On Sat, Oct 1, 2011 at 8:48 AM, Chris Rees <crees@freebsd.org> wrote:
>> I've also not heard of anyone using it with zfs successfully- it tends t=
o
>> shrink rapidly.
>
> I'm quite surprised with this assertion. =A0I use tmpfs on my own system
> and I never see such problem as long as one have sufficient swap
> space.

The problem here is "sufficient swap space".

I've got 8G of RAM, and 2G of swap (just in case). When the ZFS ARC
reaches 4G, there's no room for a single byte in tmpfs, even with 2G
swap free and at least 2-3G RAM free. The swap size must be at least
the RAM size if you plan on using ZFS and tmpfs. That's a problem for
me because I'm short on disk space, and there's no point in having an
enormous swap size (hey, minidumps !) when you already have lots of
RAM, which is the case in most ZFS installs.

Cheers

> 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...
>
> Cheers,
> --
> Xin LI <delphij@delphij.net> https://www.delphij.net/
> FreeBSD - The Power to Serve! Live free or die
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-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?CABzXLYOuunKT6pQ3Jpb4J10LHvyKHEuom47s2%2B5D7vXZczYw7A>