Raid Configuration Troubleshooting

0

I have a simple RAID at home with 2 mirrored drives and for some reason I cannot get any sort of performance out of them... Running hdparm -t I consistently score about 100MB/s, but I get 250 to 300 from my laptop! What am I doing wrong?

Setup:

  • Dell 2850 2U
  • Intel srcs28x SATA hardware raid
  • 2 2TB SATA II or III drives
  • Running one logical mirrored drive:
  • adaptive read ahead
  • write-back
  • direct i/o
  • drive caching enabled on both

Eric Fossum

Posted 2011-11-04T01:57:25.400

Reputation: 541

Answers

1

Write speeds like that on your laptop are either because you have an SSD or caching is playing a part. A single good quality SSD will outperform a SATA disk by a substantial margin.

MDMarra

Posted 2011-11-04T01:57:25.400

Reputation: 19 580

well these numbers are garbage. Is there no way to improve them? I could have sworn they were higher... – Eric Fossum – 2011-11-04T02:23:48.603

100MB/s is garbage? Have you looked at benchmarks for those drives to know what to expect? – MDMarra – 2011-11-04T07:24:45.323

0

Running hdparm -t I consistently score about 100MB/s,

100MB/sec is a realistic value for a 2TB SATA drive. A mirror should be able to perform up to twice as fast when reading, but realistically expect anything between 100MB/sec and 200MB/sec.

but I get 250 to 300 from my laptop! What am I doing wrong?

No laptop HDD archieves those speeds. Either you have a relative fast SSD in that, or you are getting cached reads. Try rebooting the laptop and test again, The laptop should be down to a 70-90MB/sec range.

Hennes

Posted 2011-11-04T01:57:25.400

Reputation: 60 739

0

You're running the wrong raid type (RAID1) if you're looking for performance. Read performance on RAID1 can be faster than a single drive as data is copied in more than one place and therefore two simultaneous reads can occur, however write performance on RAID1 is still realistically no faster than a single drive.

RAID0 offers the best performance for your $ but a failure of a single drive means catastrophic data loss. For the best balance of speed+fault tolerance, consider RAID10, which has a minimum requirement of 4 drives.

Garrett

Posted 2011-11-04T01:57:25.400

Reputation: 4 039

before I migrated to RAID 1 with two drives the single drive would write/read at around 20-40MB/s over the network, now I get 3-4MB/s. There has to be something wrong, I think I'll send Intel a service request because this is nearly unusable. – Eric Fossum – 2011-11-04T15:50:08.877

Well now you're talking about a whole different animal with network transfer speeds. A bunch of factors can affect that. Buffered disk reads of 100MB/s is what I would expect from a RAID1 array of standard SATA II drives. – Garrett – 2011-11-04T16:24:32.877

Well I'm 90% sure it's a raid issue because of lags seen on the system and how disk intensive activities seem to take much more CPU than they should. – Eric Fossum – 2011-11-05T22:30:54.667