Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hitz@nova.netapp.com (Dave Hitz)
Subject: Those confusing RAID levels (was: RAID 7's improvements of VAX performance)
Date: 23 Jul 1994 12:15:46 -0700	[thread overview]
Message-ID: <30rq92$bet@nova.netapp.com> (raw)
In-Reply-To: CtCnKu.6C4@park.uvsc.edu

In article <CtCnKu.6C4@park.uvsc.edu>, Malcolm Weir <malc@park.uvsc.edu> wrote:
> Note that the above definitions are fairly hopelessly vague and woolly,
> since they omit to define what a "block" actually might be (host block,
> sector, or what), and omit some obvious arrangements.

As I read the original Patterson RAID paper, the primary intent was not
categorize all possible redundant disk formats, but to justify RAID 5
as a step-wise refinement of disk striping.

The argument goes something like this:

	CPUs are speeding up faster than disks, so we need to gang
	multiple disks together in order to get sufficient I/O.

	Disk arrays (RAID 0 or striping) help solve this, but using
	more disks increases the failure rate of the array as a whole.

	Disk mirroring (RAID 1) protects against failure, but at double
	the cost.

	Hamming code (RAID 2) uses fewer disks than mirroring, but is
	still overkill since individual disks already detect errors.
	(Hamming code is a full error detection/correction code, but
	with individual disks *detecting* errors a simpler code such as
	parity suffices for *correction*.)

	Bit-wise striping with parity (RAID 3) provides a single
	high-speed data stream, but since all heads seek together, seek
	time becomes a bottleneck for multi-process loads with separate
	I/O streams.

	Block-wise striping with parity (RAID 4) allows each disk to
	seek separately, reducing seek time for parallel I/O access,
	but the parity disk becomes a bottleneck because it participates
	in every write.

	Block-wise striping with rotating parity (RAID 5) solves the
	hot parity because it spreads parity over all the disks, thus
	evening up the load.

I disagree with the implication that RAID 5 is necessarily "better" than
RAID 4.  I think it makes more sense to stick with RAID 4 and solve the
hot-parity problem with better write allocation patterns in the file
system.  The benefit is that you can easily add new disks to the end of
a RAID 4 array by simply zeroing them.  Expanding a RAID 5 array is
tricky.

The "RAID 7" folks also stick with RAID 4, but they use aggressive
caching to reduce the hot parity problem and a baffling marketing
strategy to reduce customer interest. :-)

> [They] omit some obvious arrangements.  For example,
> what do you call a RAID 4 scheme with ECC?  A RAID 3 scheme with
> rotating parity? A combination of levels 0 and 1?

In the context of the original argument these levels don't make sense:

	ECC had already been rejected as overkill for bit-wise
	striping, so why reintroduce it for block-wise striping?

	Rotating parity addresses the "hot parity disk" problem which
	doesn't occur in RAID 3 since all disks seek together.

In the end, there are so many orthogonal implementation choices that
any linear numbering scheme is probably doomed.  A complete naming
scheme probably needs to consist of an N-space whose axis include:
bit-wise vs block-wise stripping, parity vs ECC, rotating vs non
rotating parity, read-caching vs write-caching vs no-caching, etc.

Dave Hitz		hitz@netapp.com
Network Appliance 	(415) 428-5106


  reply	other threads:[~1994-07-23 19:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-15  4:43 RAID 7's improvements of VAX performance John OBrien
1994-07-15 12:42 ` Jerry Leslie
1994-07-15 17:17   ` Chris Kalisiak
1994-07-15 18:08 ` Jon Wright
1994-07-16  3:25   ` Jerry Leslie
1994-07-16 21:56 ` Greg Lindahl
1994-07-19 17:47   ` Malcolm Weir
1994-07-21  2:03     ` Thomas V. Myers
1994-07-21 14:43       ` Dick Wilmot
1994-07-22  1:23         ` Peter da Silva
1994-07-25 17:05           ` Looking for ftpable sources of RAID papers Wiley Sanders
1994-07-31  3:52             ` Dick Wilmot
1994-07-21 22:45       ` RAID 7's improvements of VAX performance Brian K. Zuzga
1994-07-22 11:31         ` RAID 7's improvements of VAX performanc John K Scoggin Jr
1994-07-22 16:10       ` RAID 7's improvements of VAX performance Malcolm Weir
1994-07-23 19:15         ` Dave Hitz [this message]
1994-07-25 13:29           ` Those confusing RAID levels (was: RAID 7's improvements of VAX performance) Dick Dixon
1994-07-26 16:25           ` Those confusing RAID levels (was: RAID 7's improvements of VAX p Dan Jones
1994-07-27  7:10             ` Dave Hitz
1994-07-28 17:09               ` Dan Jones
1994-07-28 20:24               ` John Chandy
1994-08-06 16:45                 ` Dave Hitz
1994-07-31  4:16             ` Dick Wilmot
1994-07-26 19:50           ` Those confusing RAID levels (was: RAID 7's improvements of VAX performance) Malcolm Weir
1994-07-27  7:19             ` Dave Hitz
1994-07-18  4:02 ` RAID 7's improvements of VAX performance Ramon L. Tate
1994-07-21 14:58   ` grasser
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox