linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raid10 vs raid5 - strange performance
@ 2008-03-25 21:33 Christian Pernegger
  2008-03-25 22:13 ` David Rees
  2008-03-25 23:36 ` Keld Jørn Simonsen
  0 siblings, 2 replies; 19+ messages in thread
From: Christian Pernegger @ 2008-03-25 21:33 UTC (permalink / raw)
  To: Linux RAID

I did a few tests of raid10 on an old 3ware 7506-8 today (using 6
drives), both with the built-in raid 10 and md's n2 and chunk sizes
from 64KB to 1024KB.
- caches dropped before each test
- averages of three runs
- arrays in synced state
- dd tests: 6GB (3MB bs)


dd-reads:
single drive: 64 MB/s
3w: 104-114 MB/s
md: 113-115 MB/s

bonnie++-reads:
single drive: 36 MB/s
3w: 94-97 MB/s
md: 101-108 MB/s

The card unfortunately is in a regular PCI slot, not bad considering.

dd-writes:
single drive: 67 MB/s
3w: 42 MB/s
md: 42 MB/s

bonnie++-writes:
single drive: 36 MB/s
3w:  40-41 MB/s
md:  41 MB/s

3w and md speed are pretty much identical and just barely over that of
a single drive. If it's because md has to send the same data to
multiple disks 3w should have an advantage but it does not.

So I ran the same tests using a md-raid5 over the same disks just for
kicks (512KB chunks, no bitmap):

dd-reads: 115 MB/s
bonnie++-reads: 87  MB/s
dd-writes: 69 MB/s
bonnie++-writes: 62  MB/s

Writes are actually a lot better than any raid10 ... despite all the
hype it gets on the list. I wanted to go with raid10 for this box
because it's not mostly-read for a change.

Explanations welcome.

Chris

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

end of thread, other threads:[~2008-03-30 14:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 21:33 raid10 vs raid5 - strange performance Christian Pernegger
2008-03-25 22:13 ` David Rees
2008-03-25 22:56   ` Christian Pernegger
2008-03-26 16:29     ` Bill Davidsen
2008-03-26 17:10       ` Christian Pernegger
2008-03-26 17:49         ` Keld Jørn Simonsen
2008-03-25 23:36 ` Keld Jørn Simonsen
     [not found]   ` <bb145bd20803251837x7ef1fa9dk6191fcaea7b02144@mail.gmail.com>
     [not found]     ` <20080326072416.GA8674@rap.rap.dk>
2008-03-26 17:16       ` Christian Pernegger
2008-03-26 19:29         ` Keld Jørn Simonsen
2008-03-27  1:11           ` Christian Pernegger
2008-03-27  9:18             ` Keld Jørn Simonsen
     [not found]           ` <47EAACAB.7070203@tmr.com>
2008-03-27  2:02             ` Christian Pernegger
2008-03-29 20:25               ` Bill Davidsen
2008-03-29 21:26                 ` Iustin Pop
2008-03-30  8:55                 ` Keld Jørn Simonsen
2008-03-30  9:34                   ` Keld Jørn Simonsen
2008-03-30 11:16                     ` Peter Grandi
2008-03-30 12:58                       ` Keld Jørn Simonsen
2008-03-30 14:21                     ` Keld Jørn Simonsen

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