From owner-freebsd-stable Wed Mar 14 2:56:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from deborah.paradise.net.nz (deborah.paradise.net.nz [203.96.152.32]) by hub.freebsd.org (Postfix) with ESMTP id 9850F37B718; Wed, 14 Mar 2001 02:56:24 -0800 (PST) (envelope-from marki@paradise.net.nz) Received: from paradise.net.nz (203-79-69-96.apx0.paradise.net.nz [203.79.69.96]) by deborah.paradise.net.nz (8.11.3/8.11.3) with ESMTP id f2EArTU06551; Wed, 14 Mar 2001 23:53:29 +1300 (NZDT) Message-ID: <3AAF4DA0.C8DA9485@paradise.net.nz> Date: Wed, 14 Mar 2001 23:53:20 +1300 From: Mark Ibell X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: Mars Attack , Soren Schmidt , Peter Wemm , Mike Meyer , Helge Oldach , oberman@es.net, mobile@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Disk I/O problem in 4.3-BETA References: <200103131007.f2DA73h54023@mobile.wemm.org> <01f001c0abaa$133e1680$4500a8c0@nomad> <20010313032635.Q29888@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What doesn't appear to have been mentioned is how exactly do we turn off write caching on SCSI drives. From poking around the best I could work out was to run 'camcontrol modepage da0 -m 0x08 -e -P 3' and set WCE to 0 where 0x08 comes from /usr/share/misc/scsi_modes. Is this the correct way to do it? Also, is it okay to leave tagged queuing enabled? (I'm really starting to get paranoid after all this discussion!) Cheers, Mark Alfred Perlstein wrote: > > * Mars Attack [010313 02:18] wrote: > > Geez, this thread is getting longer and all the more confusing, can some > > guru possibly attempt to outline the good and bad points of Softupdates or > > WC ? > > 1) softupdates good > 2) WC bad (even when not using softupdates) > > Basically, softupdates doesn't really matter, as long as you have > write caching turned on, you're defeating the safeness of FFS > (noasync) and FFS (softdep) by allowing the disk to reorder what > should be ordered writes. > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message