From owner-freebsd-fs@FreeBSD.ORG Sun Jun 9 12:18:31 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 9EF3B33D for ; Sun, 9 Jun 2013 12:18:31 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) by mx1.freebsd.org (Postfix) with ESMTP id 62E961674 for ; Sun, 9 Jun 2013 12:18:30 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UleZh-0004kY-P1 for freebsd-fs@freebsd.org; Sun, 09 Jun 2013 14:18:22 +0200 Received: from dhcp-077-251-158-153.chello.nl ([77.251.158.153] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UleZe-0003CC-TS for freebsd-fs@freebsd.org; Sun, 09 Jun 2013 14:18:18 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org Subject: Re: /tmp: change default to mdmfs and/or tmpfs? References: Date: Sun, 09 Jun 2013 14:18:20 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.8 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.1 X-Scan-Signature: 2ecd0b53b7de9511489f92806276a3d7 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: Sun, 09 Jun 2013 12:18:31 -0000 On Sun, 09 Jun 2013 13:45:28 +0200, Dmitry Morozovsky wrote: > Dear colleagues, > > 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" > > Given more and more fixes/improvements committed to tmpfs, switching > /tmp to it > would be even better idea. > > You thoughts? Thank you! > > What keeps you from putting this in fstab and stop using the tmpmfs rc.conf variable? 'tmpfs /tmp tmpfs rw,size=536870912 0 0' I thought tmpmfs/varmfs infrastructure was more for diskless/full-NFS systems anyways. Ronald.