linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID-6
@ 2002-11-11 18:52 H. Peter Anvin
  2002-11-11 21:06 ` RAID-6 Derek Vadala
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: H. Peter Anvin @ 2002-11-11 18:52 UTC (permalink / raw)
  To: linux-raid

Hi all,

I'm playing around with RAID-6 algorithms lately.  With RAID-6 I mean
a setup which needs N+2 disks for N disks worth of storage and can
handle any two disks failing -- this seems to be the contemporary
definition of RAID-6 (the originally proposed "two-dimensional parity"
which required N+2*sqrt(N) drives never took off for obvious reasons.)

Based on my current research, I think the following should be true:

a) write performance will be worse than RAID-5, but I believe it can
   be kept to within a factor of 1.5-2.0 on machines with suitable
   SIMD instruction sets (e.g. MMX or SSE-2);

b) read performance in normal and single failure degraded mode will be
   comparable to RAID-5;

c) read performance in dual failure degraded mode will be quite bad.

I'm curious how much interest there would be in this, since I
certainly have enough projects without it, and I'm probably going to
need some of Neil's time to integrate it into the md driver and the
tools.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <Pine.GSO.4.30.0211111138080.15590-100000@multivac.sdsc.edu>]
* Raid-6 Rebuild question
@ 2005-11-13  9:05 Brad Campbell
  2005-11-13 10:05 ` Neil Brown
  0 siblings, 1 reply; 20+ messages in thread
From: Brad Campbell @ 2005-11-13  9:05 UTC (permalink / raw)
  To: RAID Linux

G'day all,

Here is an interesting question( well I think so in any case ). I just replaced a failed disk in my 
15 drive Raid-6.

Simply mdadm --add /dev/md0 /dev/sdl

Why, when there is no other activity on the array at all, is it writing to every disk during the 
recovery? I would have assumed it just read from the others and write to sdl.

This is an iostat -k 5 on that machine while rebuilding

avg-cpu:  %user   %nice    %sys %iowait   %idle
            0.00    0.00  100.00    0.00    0.00

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sda             121.08     14187.95       925.30      23552       1536
sdb             127.71     14187.95      1002.41      23552       1664
sdc             125.30     14187.95      1002.41      23552       1664
sdd             122.29     14187.95      1002.41      23552       1664
sde             125.30     14187.95      1002.41      23552       1664
sdf             127.71     14187.95      1002.41      23552       1664
sdg             125.90     14187.95       925.30      23552       1536
sdh             125.30     14187.95       925.30      23552       1536
sdi             134.34     14187.95       925.30      23552       1536
sdj             137.95     14187.95       925.30      23552       1536
sdk             140.36     14187.95      1850.60      23552       3072
sdl              79.52         0.00     14265.06          0      23680
sdm             133.13     14187.95       925.30      23552       1536
sdn             134.34     14187.95       925.30      23552       1536
sdo             133.73     14187.95       925.30      23552       1536
md0               0.00         0.00         0.00          0          0

storage1:/home/brad# cat /proc/mdstat
Personalities : [raid6]
md0 : active raid6 sdl[15] sdg[6] sda[0] sdo[14] sdn[13] sdm[12] sdk[10] sdj[9] sdi[8] sdh[7] sdf[5] 
sde[4] sdd[3] sdc[2] sdb[1]
       3186525056 blocks level 6, 128k chunk, algorithm 2 [15/14] [UUUUUUUUUUU_UUU]
       [>....................]  recovery =  1.8% (4518144/245117312) finish=838.3min speed=4782K/sec
unused devices: <none>

Regards,
Brad
-- 
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2005-12-29 18:29 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-11 18:52 RAID-6 H. Peter Anvin
2002-11-11 21:06 ` RAID-6 Derek Vadala
2002-11-11 22:44 ` RAID-6 Mr. James W. Laferriere
2002-11-11 23:05   ` RAID-6 H. Peter Anvin
2002-11-12 16:22 ` RAID-6 Jakob Oestergaard
2002-11-12 16:30   ` RAID-6 H. Peter Anvin
2002-11-12 19:01     ` RAID-6 H. Peter Anvin
2002-11-12 19:37   ` RAID-6 Neil Brown
2002-11-13  2:13     ` RAID-6 Jakob Oestergaard
2002-11-13  3:33       ` RAID-6 Neil Brown
2002-11-13 12:29         ` RAID-6 Jakob Oestergaard
2002-11-13 17:33           ` RAID-6 H. Peter Anvin
2002-11-13 18:07             ` RAID-6 Peter L. Ashford
2002-11-13 22:50             ` RAID-6 Neil Brown
2002-11-13 18:42           ` RAID-6 Peter L. Ashford
2002-11-13 22:48           ` RAID-6 Neil Brown
     [not found] <Pine.GSO.4.30.0211111138080.15590-100000@multivac.sdsc.edu>
2002-11-11 19:47 ` RAID-6 H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2005-11-13  9:05 Raid-6 Rebuild question Brad Campbell
2005-11-13 10:05 ` Neil Brown
2005-11-16 17:54   ` RAID-6 Bill Davidsen
2005-11-16 20:39     ` RAID-6 Dan Stromberg
2005-12-29 18:29       ` RAID-6 H. Peter Anvin

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).