[CentOS] md raid1 - no speed improvement

Steve Thompson smt at vgersoft.com
Sun Mar 23 11:53:19 UTC 2008


On Sun, 23 Mar 2008, Ralph Angenendt wrote:

> Kieran Clancy wrote:
>> When I do tests though, I find that the md raid1 read performance is
>> no better than either of the two disks on their own
>
> Why should RAID1 be faster than writing to/reading from a single disc?
> You are *mirroring* each write to another disk, so I'd even expect it to
> be slower.

Read performance would be better if there are multiple accessors, but not 
for just a single stream. The hdparm test is not good in this case; Kieran 
sees exactly what is suspected. Try running it twice (at the same time).

Steve
----------------------------------------------------------------------------
Steve Thompson                 E-mail:      smt AT vgersoft DOT com
Voyager Software LLC           Web:         http://www DOT vgersoft DOT com
39 Smugglers Path              VSW Support: support AT vgersoft DOT com
Ithaca, NY 14850
   "186,300 miles per second: it's not just a good idea, it's the law"
----------------------------------------------------------------------------



More information about the CentOS mailing list