From owner-freebsd-hackers Sun Jul 30 12:32:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 7E72C37B6C1; Sun, 30 Jul 2000 12:32:08 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id PAA87825; Sun, 30 Jul 2000 15:32:12 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Sun, 30 Jul 2000 15:32:12 -0400 (EDT) From: Adam To: Doug Barton Cc: freebsd-hackers@FreeBSD.ORG, dillon@FreeBSD.ORG Subject: Re: /tmp on a ramdisk? In-Reply-To: <3984728D.15638FE3@gorean.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 Jul 2000, Doug Barton wrote: >Adam wrote: >> >> On Fri, 28 Jul 2000, Doug Barton wrote: >> >> >Ted Sikora wrote: >> >> >> >> A while ago several people suggested using /tmp on a ramdisk along with >> >> softupdates. Right now I am running several production servers with >> >> 4.1-STABLE with softupdates. I'm really happy with the performance. What >> >> benefits would I realize using /tmp on a ramdisk? >> > >> > CW on this is varied, but the current trend is that /tmp on a md is just a >> >waste of ram, since (basically) everything in /tmp is in ram twice. >> > >> >Doug >> >> I thought that was MFS only and that MD took care of that issue? > > You're about the 4th person to say that, but so far no one has said how >they are different. How does MD solve the problem of the stuff on its >filesystem being in memory once (on the memory disk) and again in cache? > > I certainly don't mind being proved wrong on this, since I don't use ram >disks myself, but it would be nice to have some details. :) From recollection I think its because the data is in memory (obvious) and it also gets cached in the disk buffer or something like that :) I'm not quite sure, thats why I cc'ed Matt. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message