From owner-freebsd-questions@FreeBSD.ORG Sun Nov 18 02:50:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA724408 for ; Sun, 18 Nov 2012 02:50:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE948FC08 for ; Sun, 18 Nov 2012 02:50:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAI2o2fS011725; Sat, 17 Nov 2012 19:50:02 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qAI2o2dh011722; Sat, 17 Nov 2012 19:50:02 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 17 Nov 2012 19:50:02 -0700 (MST) From: Warren Block To: Gary Aitken Subject: Re: 9.0 crash, ssd or filesystem problem? In-Reply-To: <50A80DCB.7030500@dreamchaser.org> Message-ID: References: <50A53FF1.7050806@dreamchaser.org> <50A602AB.2060307@dreamchaser.org> <50A66659.5040406@dreamchaser.org> <50A6FFC0.3050902@dreamchaser.org> <50A7EE9B.4070003@dreamchaser.org> <50A80DCB.7030500@dreamchaser.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 17 Nov 2012 19:50:02 -0700 (MST) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 02:50:05 -0000 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