From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 11 14:30:37 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4446216A4CE for ; Thu, 11 Dec 2003 14:30:37 -0800 (PST) Received: from lakemtao01.cox.net (lakemtao01.cox.net [68.1.17.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCCF043E7B for ; Thu, 11 Dec 2003 14:30:33 -0800 (PST) (envelope-from A.J.Caines@halplant.com) Received: from mail.halplant.com ([68.100.162.49]) by lakemtao01.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031211223033.DULH23168.lakemtao01.cox.net@mail.halplant.com> for ; Thu, 11 Dec 2003 17:30:33 -0500 Received: by mail.halplant.com (Postfix, from userid 1001) id 88BACBD; Thu, 11 Dec 2003 17:30:32 -0500 (EST) Date: Thu, 11 Dec 2003 17:30:32 -0500 From: Andrew J Caines To: freebsd-hackers@freebsd.org Message-ID: <20031211223032.GB58324@hal9000.halplant.com> Mail-Followup-To: freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.9-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 X-ICQ: 283813972 Importance: Normal User-Agent: Mutt/1.5.5.1i Subject: Default mfs/md fs on /tmp (Was: adding more ram X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 22:30:37 -0000 Charles Swiger opined: > By the time Solaris transitioned from 2.6 to 2.7 (aka Solaris 7), > having /tmp be memory-based was the default system configuration, and I > would like to see FreeBSD pursue the same course. Seconded. I've been using mfs for /tmp since way back (3.x? 2.x?) and on 5.x (which is configured the same way, but implimented differently) in recent times and have found it to be nothing but useful and stable, speeding up numerous things while never obviously significantly impacting overall performance. One reason for this is that unlike the default all-users-may-swamp-the-vm on Solaris, I limit the size of the mfs to a "small" (relative to RAM) one. If implimented, please default to a sensible size, preferably a small fraction of RAM down to a sane minimum (1 MB). It also avoids the newbie /tmp-on-/ problem. -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |