From: cgd@aeneas.ecmwf.co.uk (Dick Dixon)
Subject: Re: Those confusing RAID levels (was: RAID 7's improvements of VAX performance)
Date: 25 Jul 1994 13:29:14 GMT [thread overview]
Message-ID: <310ena$gqq@daphne.ecmwf.co.uk> (raw)
In-Reply-To: 30rq92$bet@nova.netapp.com
In article <30rq92$bet@nova.netapp.com>, hitz@nova.netapp.com (Dave
Hitz) writes:
|> 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.
RAID 3 is supposed to be byte-wise striped, not bit-wise, according to
the
original Berkeley papers. 'Only one I/O request may be serviced per
parity disk
at one time' (I thought this was non-obvious for reads, since a read
does not
use the parity disk. However, since all disks seek together, there can
be only
one I/O active per RAID 3 unit - which is the same thing.)
|>
|> 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.
The Berkeley papers say 'Several reads and writes per parity
disk can be serviced concurrently'. Since *every* disk is a parity
disk in RAID5, it's not clear what this means. On average, a read
needs to access one drive, a write two, and the drives are randomly
chosen; so some clever statistics are needed (it seems to me) to work
out the likely limits in a real situation. Perhaps they meant to say
'Several reads and writes per RAID 5 unit', which makes better sense.
|>
|> 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.
To use these things properly and get decent write speeds, one wants
to avoid doing read-modify-write on the parity drive. The only
way to do this is to write in blocks a whole RAID unit wide. And if
one
does *that*, the functional difference between RAIDs 3, 4 and 5
disappears anyway. OK; you can keep a cache image of the parity
drive and pretend that's avoided the need to do the 'read' part of
'read-modify-write', but that's really no different from claiming that
cache
could abolish *all* your disk I/O - it just makes the read faster,
that's all.
Perhaps one might say 'If you're doing I/O better with RAID 5,
you're not doing it right'...
--
Dick
next prev parent reply other threads:[~1994-07-25 13:29 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 ` Those confusing RAID levels (was: RAID 7's improvements of VAX performance) Dave Hitz
1994-07-25 13:29 ` Dick Dixon [this message]
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