From owner-freebsd-fs@FreeBSD.ORG Mon Jun 10 08:43:15 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 11B6025A; Mon, 10 Jun 2013 08:43:15 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 94D0D1393; Mon, 10 Jun 2013 08:43:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r5A8hC7s051794; Mon, 10 Jun 2013 12:43:12 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Mon, 10 Jun 2013 12:43:12 +0400 (MSK) From: Dmitry Morozovsky To: Julian Elischer Subject: Re: /tmp: change default to mdmfs and/or tmpfs? In-Reply-To: <51B53C4C.3030007@freebsd.org> Message-ID: References: <20130609124603.GA35681@icarus.home.lan> <51B53C4C.3030007@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Mon, 10 Jun 2013 12:43:12 +0400 (MSK) Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 08:43:15 -0000 On Mon, 10 Jun 2013, Julian Elischer wrote: > > > > what do you think about stop using precious disk or even SSD resources > > > > for > > > > /tmp? > > > > > > > > For last several (well, maybe over 10?) years I constantly use md > > > > (swap-backed) > > > > for /tmp, usually 128M in size, which is enough for most of our server > > > > needs. > > > > Some require more, but none more than 512M. Regarding the options, we > > > > use > > > > tmpmfs_flags="-S -n -o async -b 4096 -f 512" > > > [...] > > I sometimes use virtual filesystems but there are cases when I am looking to > store HUGE amounts of trace data in /tmp and end up cursing and remounting a > real disk partition. Hmm, don't /var/tmp exist for such a task? -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------