From owner-freebsd-fs Sat Mar 23 16:10: 8 2002 Delivered-To: freebsd-fs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 6369037B419; Sat, 23 Mar 2002 16:09:57 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g2O09hk64068; Sat, 23 Mar 2002 19:09:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 23 Mar 2002 19:09:43 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Hanley Cc: Willie Viljoen , freebsd-fs@freebsd.org, re@freebsd.org Subject: Re: Soft update instability with heavy IO and offboard IDE controller In-Reply-To: <20020323235545.32054.qmail@web10105.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 23 Mar 2002, John Hanley wrote: > > turn off write caching at boot time in > > /boot/loader.conf by adding the line hw.ata.wc=0 > > Surely a default install should result in write caching disabled, right? > Since any new filesystems will default to using soft update. We turned it off by default in 4.4-RELEASE, I believe, and got utterly pounded in the benchmarks, magazine reviews, etc, and turned it back on for later RELENG_4 releases. On 5.0-CURRENT, it's off again by default due to the assumptions concerning background fsck, which is on by default. At some point, we need to have that whole discussion again. Basically, vendors ship hardware that don't conform to standards specifications, and consistency guarantees are thrown out the window if you use the default settings. If you disable write caching, you will see a very high performance hit on most modern disks. I suppose we need to think about this for DP1 also. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message