linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Cress, Andrew R" <andrew.r.cress@intel.com>
To: "'Matthias Andree'" <matthias.andree@gmx.de>,
	Linux-Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: RE: SCSI Write Cache Enable in 2.4.20?
Date: Fri, 13 Jun 2003 11:25:43 -0700	[thread overview]
Message-ID: <A5974D8E5F98D511BB910002A50A66470B54CBA3@hdsmsx103.hd.intel.com> (raw)


IMO, it isn't "necessary", but it is very desirable, and should be the
default, to disable write cache on SCSI disks for any system that is
concerned about reliability.

If reliability is less important than performance, and you have more
sequential writes than random writes, then you would get a performance
boost, and those (limited) cases might want to turn write cache on.  Disk
benchmark apps are one example.

However, most environments have a lot more small random writes than
sequential writes, and so don't even see a performance improvement from
turning disk write cache on.  

The OS type or version shouldn't affect this, in principle.

Andy

-----Original Message-----
From: Matthias Andree [mailto:matthias.andree@gmx.de] 
Sent: Thursday, June 12, 2003 5:25 AM
To: Linux-Kernel mailing list
Subject: SCSI Write Cache Enable in 2.4.20?


Hi,

I haven't followed the status of write barrier patches recently, I am
wondering if it's still "necessary" (to avoid file system corruption) to
disable the write cache of a SCSI disk drive when the machine doesn't
have an uninterruptible power supply or if instead the file systems and
driver know how to use ordered tags.  (Fujitsu MAP drive: 8 MB cache,
AIC7880 adapter, SuSE Linux 8.2 patched 2.4.20 kernel with ext3 and xfs)

TIA,

-- 
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

             reply	other threads:[~2003-06-13 18:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-13 18:25 Cress, Andrew R [this message]
2003-06-13 20:36 ` SCSI Write Cache Enable in 2.4.20? Matthias Andree
2003-06-19 16:56 ` Jeff Garzik
2003-06-19 20:58   ` Matthias Andree
  -- strict thread matches above, loose matches on Subject: below --
2003-06-12  9:24 Matthias Andree

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A5974D8E5F98D511BB910002A50A66470B54CBA3@hdsmsx103.hd.intel.com \
    --to=andrew.r.cress@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.andree@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).