linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Soft-/Hardware RAID Performance
@ 2003-02-19 19:56 Daniel Brockhaus
  2003-02-20  0:03 ` Neil Brown
  2003-02-20 10:55 ` Daniel Brockhaus
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Brockhaus @ 2003-02-19 19:56 UTC (permalink / raw)
  To: linux-raid

Hi all,

I need to build a server for an application that does lots of small writes 
and some small reads. So far I've build the hardware side of the server, 
using an Adaptec 2100S RAID controller and five Fujitsu MAM3184MP. My 
original intention was to build a RAID 10 array (RAID0 on two mirror sets 
of two disks each with one spare). But performance was very poor with this 
setup. I used a custom benchmark which reads and writes 4K blocks in random 
locations in a 2GB file (this is very close to the actual application):

Test results for :

Cheap IDE drive: 50 writes/s, 105 reads/s.
MAM3184MP: 195 writes/s, 425 reads/s.

This is as expected. But:

Hardware RAID10 array: 115 writes/s, 405 reads/s.

Which is way slower than a single drive. Now the testing began:

Hardware RAID1: 145 writes/s, 420 reads/s.
Software RAID1: 180 writes/s, 450 reads/s.
Software RAID10: 190 writes/s, 475 reads/s.

Since write performance is more important than read performance, a single 
drive is still faster than any configuration using two or four drives I've 
tried. So the question is: Are there any tunable parameters which might 
increase performance? In theory, read performance on a two-disk RAID1 array 
should be almost twice as high as on a single disk while write performance 
should (almost) stay the same, and a two-disk RAID0 array should double 
both, read and write performance. So the whole RAID10 array should be able 
to manage 350 writes/s and 1600 reads/s. What am I missing?

Performance issues aside. If I go for the software RAID10: How can I 
configure the system to use the fifth drive as hot spare for both RAID1 
arrays? Is it save to add the same drive to both arrays (haven't tried it 
yet)? And would you say that software RAID is stable enough to use in a 
production system?

Thanks a lot,
Daniel Brockhaus 


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

end of thread, other threads:[~2003-02-21  0:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19 19:56 Soft-/Hardware RAID Performance Daniel Brockhaus
2003-02-20  0:03 ` Neil Brown
2003-02-20 10:55 ` Daniel Brockhaus
2003-02-20 18:31   ` Gregory Leblanc
2003-02-21  0:08   ` Neil Brown

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