Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Dec 2001 15:50:56 -0500
From:      "Brian F. Feldman" <green@FreeBSD.ORG>
To:        obrien@FreeBSD.ORG
Cc:        Kirk McKusick <mckusick@mckusick.com>, arch@FreeBSD.ORG
Subject:   Re: Enabling Softupdates in default install on -CURRENT 
Message-ID:  <200112022050.fB2Kou800339@green.bikeshed.org>
In-Reply-To: Message from "David O'Brien" <obrien@FreeBSD.ORG>  of "Sun, 02 Dec 2001 12:11:09 PST." <20011202121109.A61912@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" <obrien@FreeBSD.ORG> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112022050.fB2Kou800339>