]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Explain the read-balancing algorithm for RAID1 better in md.4
authorIustin Pop <iusty@k1024.org>
Tue, 11 Sep 2007 14:20:19 +0000 (16:20 +0200)
committerNeil Brown <neilb@suse.de>
Tue, 11 Sep 2007 14:20:19 +0000 (16:20 +0200)
From: Iustin Pop <iusty@k1024.org>

There are many questions on the mailing list about the RAID1 read
performance profile. This patch adds a new paragraph to the RAID1
section in md.4 that details what kind of speed-up one should expect
from RAID1.

Signed-off-by: Iustin Pop <iusty@k1024.org>
crc32.c [deleted file]
crc32.h [deleted file]
inventory [changed mode: 0644->0755]
md.4
super-ddf.c [deleted file]

diff --git a/crc32.c b/crc32.c
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/crc32.h b/crc32.h
deleted file mode 100644 (file)
index e69de29..0000000
old mode 100644 (file)
new mode 100755 (executable)
diff --git a/md.4 b/md.4
index cf423cbe6b88dfe035c446e6ef1f33f83c847a9c..db39aba66584c46051198c499b64c89deb173e43 100644 (file)
--- a/md.4
+++ b/md.4
@@ -168,6 +168,13 @@ All devices in a RAID1 array should be the same size.  If they are
 not, then only the amount of space available on the smallest device is
 used (any extra space on other devices is wasted).
 
+Note that the read balancing done by the driver does not make the RAID1
+performance profile be the same as for RAID0; a single stream of
+sequential input will not be accelerated (e.g. a single dd), but
+multiple sequential streams or a random workload will use more than one
+spindle. In theory, having an N-disk RAID1 will allow N sequential
+threads to read from all disks.
+
 .SS RAID4
 
 A RAID4 array is like a RAID0 array with an extra device for storing
diff --git a/super-ddf.c b/super-ddf.c
deleted file mode 100644 (file)
index e69de29..0000000