From owner-freebsd-questions Fri Dec 7 17:32:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 0145337B419 for ; Fri, 7 Dec 2001 17:32:38 -0800 (PST) Received: (qmail 10467 invoked by uid 100); 8 Dec 2001 01:32:37 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15377.28085.155538.40480@guru.mired.org> Date: Fri, 7 Dec 2001 19:32:37 -0600 To: "Roger 'Rocky' Vetterberg" Cc: questions@freebsd.org Subject: Re: mount_mfs with softupdate generates panic In-Reply-To: <61500916@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Roger 'Rocky' Vetterberg types: > Ceri wrote: > >On Fri, Dec 07, 2001 at 06:08:22PM +0100, Roger 'Rocky' Vetterberg wrote: > >>Has anyone used memory disks, with softupdates enabled, succesfully? > >There isn't any point. > > > What do you mean no point? > I agree, the performance gained of using Soft Updates on a memory disk > is probably small, but as I mentioned, this was done purely for > performance, hence the noatime and async flags. Async is ignored if you turn on soft updates. Soft updates isn't stupid - it realizes that if you've turned on soft udpates on the filesystem, async is not only irrelevant, but dangerous. > Im by no means a filesystem expert, but Soft Updates should improve > performance on memory disks as well as regular harddrives, right? Not necessarily. Soft updates orders writes from the buffer cache to the hard disk. If your memory disk is working properly, those writes never happen, because the disk and the buffer cache are one and the same thing. But yes, the system shouldn't panic you you mount your mfs disk async. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message