Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2012 19:50:02 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Gary Aitken <freebsd@dreamchaser.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: 9.0 crash, ssd or filesystem problem?
Message-ID:  <alpine.BSF.2.00.1211171943360.11685@wonkity.com>
In-Reply-To: <50A80DCB.7030500@dreamchaser.org>
References:  <50A53FF1.7050806@dreamchaser.org> <alpine.BSF.2.00.1211151550050.66706@wonkity.com> <50A602AB.2060307@dreamchaser.org> <alpine.BSF.2.00.1211160746190.74281@wonkity.com> <50A66659.5040406@dreamchaser.org> <alpine.BSF.2.00.1211161142300.76158@wonkity.com> <50A6FFC0.3050902@dreamchaser.org> <alpine.BSF.2.00.1211162119450.2013@wonkity.com> <50A7EE9B.4070003@dreamchaser.org> <alpine.BSF.2.00.1211171352510.9337@wonkity.com> <50A80DCB.7030500@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Nov 2012, Gary Aitken wrote:

>> There was a nice Sun white paper by Peter Snyder on tmpfs.  It's linked on the Wikipedia tmpfs page, but Oracle has broken the link.  Google has a rendered version of a PostScript copy (long URL):
>> http://webcache.googleusercontent.com/search?q=cache:EXMeqvhFfrsJ:www.sun3arc.org/papers/OS/tmpfs_virtual_memory_filesystem.ps.gz+tmpfs+white+paper&cd=12&hl=en&ct=clnk&gl=us
>
> Thanks.
> Interesting, I would have thought swap space for something in a tmpfs was
> not allocated until it needed to be swapped out.  As I read it, used tmpfs
> space reserves space in swap.

It uses VM, so tmpfs is a memory disk until you run low on memory, then 
it gets swapped out.  But until then, it's a RAM disk, with the added 
benefit of not eating a fixed chunk of RAM all the time.

Oh, and unless you have a very recent -STABLE or -HEAD, see
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/168544



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1211171943360.11685>