From owner-freebsd-stable Tue Mar 13 0:48:42 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gw-nl1.origin-it.com (gw-nl1.origin-it.com [193.79.128.34]) by hub.freebsd.org (Postfix) with ESMTP id EE95E37B718; Tue, 13 Mar 2001 00:48:33 -0800 (PST) (envelope-from Helge.Oldach@de.origin-it.com) Received: from mail.de.origin-it.com (localhost.origin-it.com [127.0.0.1]) by gw-nl1.origin-it.com with ESMTP id JAA15378; Tue, 13 Mar 2001 09:48:31 +0100 (MET) (envelope-from Helge.Oldach@de.origin-it.com) Received: from smtprelay-de1.origin-it.com(172.16.188.53) by gw-nl1.origin-it.com via mwrap (4.0a) id xma015371; Tue, 13 Mar 01 09:48:31 +0100 Received: from mailhub.de.origin-it.com (mailhub.de.origin-it.com [172.16.189.20]) by mail.de.origin-it.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id JAA29883; Tue, 13 Mar 2001 09:48:30 +0100 (MET) Received: from galaxy.de.cp.philips.com (galaxy.de.cp.philips.com [130.143.166.29]) by mailhub.de.origin-it.com (8.11.2/8.11.2/hmo23oct00) with ESMTP id f2D8mRG94319; Tue, 13 Mar 2001 09:48:28 +0100 (CET) (envelope-from Helge.Oldach@de.origin-it.com) Received: (from hmo@localhost) by galaxy.de.cp.philips.com (8.9.3/8.9.3/hmo14aug98) id JAA08707; Tue, 13 Mar 2001 09:48:27 +0100 (MET) Message-Id: <200103130848.JAA08707@galaxy.de.cp.philips.com> Subject: Re: Disk I/O problem in 4.3-BETA In-Reply-To: <20010312140636.A18351@fw.wintelcom.net> from Alfred Perlstein at "Mar 12, 2001 2: 6:36 pm" To: bright@wintelcom.net (Alfred Perlstein) Date: Tue, 13 Mar 2001 09:48:26 +0100 (MET) Cc: oberman@es.net, sos@freebsd.dk, mobile@FreeBSD.ORG, stable@FreeBSD.ORG From: Helge Oldach X-Address: Atos Origin GmbH, Billstrasse 80, D-20539 Hamburg, Germany X-Phone: +49 40 7886 464, Fax: +49 40 7886 235, Mobile: +49 160 4782517 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein: >* Kevin Oberman [010312 13:46] wrote: >> How serious is the possible corruption issue, anyway. The loss in >> performance is pretty drastic although it may be that dd is an >> especially bad case, but I really don't like to corrupt my disks, >> either. > >If basically running with blind write caching turned on is akin to >running your filesystem in async mode. This is because write >caching gives the drive license to lie about completing a write, >the various ordering of writes are effectively bypassed. If you >crash without these dependancies actually written to the disk, when >you come back up you have a good chance of losing large portions >of your filesystem. I'd say this is a bit too pessimistic. There is a fundamental difference between softupdates and ATA write-cacheing: Softupdates holds the async data in main RAM while ATA write-cacheing already has it in the (cache memory of the) disk device. Obviously a power outage would affect both situations in a similar way. But during just an operating system crash (assuming power stays up), one should be better off with ATA write-cacheing, as the disk should be able to dump the data from the cache chips to the physical medium. With softupdates async data is just lost. Generally I'd say it's not a bad idea to have write caching on the disk enabled - assuming that it is decently implemented. BTW, don't SCSI disks use write cacheing as well? :-) Just my 2¢, Helge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message