From owner-freebsd-arch Sun Dec 2 12:51: 2 2001 Delivered-To: freebsd-arch@freebsd.org Received: from green.bikeshed.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E36D237B405; Sun, 2 Dec 2001 12:50:57 -0800 (PST) Received: from localhost (green@localhost) by green.bikeshed.org (8.11.4/8.11.1) with ESMTP id fB2Kou800339; Sun, 2 Dec 2001 15:50:57 -0500 (EST) (envelope-from green@green.bikeshed.org) Message-Id: <200112022050.fB2Kou800339@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Kirk McKusick , arch@FreeBSD.ORG Subject: Re: Enabling Softupdates in default install on -CURRENT In-Reply-To: Message from "David O'Brien" of "Sun, 02 Dec 2001 12:11:09 PST." <20011202121109.A61912@dragon.nuxi.com> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 02 Dec 2001 15:50:56 -0500 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" wrote: > On Sun, Dec 02, 2001 at 11:40:31AM -0800, Kirk McKusick wrote: > > In the meantime, you should > > be mounting a memory-based filesystem on /tmp. Indeed you should > > do that in any event - setting up a memory-based /tmp should > > be part of the default setup script. > > Unfortunately we don't have a very satisfying memory-based file system > at this time. > > The last time I tried it (6 mo. ago), md(4) rushed pages out to the > backing swap vs. being smarter about what to flush from the buffer > cache. I was getting the same performance with a real FFS /tmp and a > large amount of core. The malloc(9) mdmfs is always 100% core resident. I personally set up a 100MB FFS/SoftUpdates /tmp partition for every computer I install FreeBSD on. I like separating the root fs from the fs for /tmp, plus it means that I don't lose performance by the non-SoftUpdates root fs since /tmp isn't on it. The only reason I have for making it a real partition instead of an mdfs is that I like the space to be preallocated regardless of swap. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message