Re: Poor raid 1 performance?



Antoine Leca wrote:

In news:pefnf.455$El.94835@xxxxxxxxxxxxxxxxxxxxx, Peter va escriure:


However, in the common case where the limiting factor is media
access, RAID-1 will result in about the same figures as non-RAID
when seen from outside (as you explained long and wide, thanks.)


That is wrong. Mostly seen in random read performance,



We were not speaking about random access, but about sequential.



but also in sequential read performance; under some, more
sophisticated RAID1 controllers.



Sorry, I cannot make sense of your point. So I shall ask plain and clear:
what is relative performance of RAID-1 versus non-RAID for (long) sequential
reads?


And the answer is -- it depends on the implementation, and on the workload.

Clearly, RAID1 has more hardware (seek mechanisms and on-disk R/W channels)
to deploy than a single HD, but there is no RAID1 standard which mandates
how that additional hardware will be used. A N-HD RAID1 implementation could
be up to ~N times as fast as a single HD in read performance, or it could be
slightly slower; it could be nearly as fast as a single HD in write performance,
or it could be as bad as ~N times slower.


One workload dependency is related to R-W ratio, since reads might be much
faster with RAID1 and since writes might be much slower with RAID1.  Another
workload dependency is sequentiality, since seeks hurt RAID and non-RAID.
Another workload dependency is locality of reference, since caching matters.

Still another workload dependency for long sequential reads is how reads which
are long as seen by the app are seen by the RAID controller and by the HDs:
long reads could be either passed through intact by the OS, or they could be
split and handed off to the RAID controller approximately in parallel, or they
could be split and handed off to the RAID controller (completely or partially)
serially; the RAID controller, in turn, has the same choices of whether and how
to split its commands for handing off to the HDs; finally, for HDs with NCQ/TCQ,
the HD has some choices for how to deal with multiple outstanding commands.


All of the entities (OS/drivers, RAID controllers, HD controllers) between the
app and the magnetic stuff have finite resources; and all were designed by folks
with limited time, imagination, and budget. Implementation does matter, and
it does vary.


Sorry, but life is not simple.

--
Cheers, Bob
.



Relevant Pages

  • Re: Motherboard for Dual Core E6850
    ... it's a necessary precaution to have RAID1. ... Gradual lurking failures, there is every chance your controller will copy the bad version over the top of the good one, rather than the other way round. ... PC-home-user grade RAID like the plague - a PITA to set up, ... With RAID1 you may survive. ...
    (uk.comp.homebuilt)
  • Re: RAID 1 Festplatten tausch ohne neuinstallation?
    ... Raid1 zum Non-Raid zurückstellen (ohne Datenverlust, muss dein Controller anbieten). ... Zweite neue Platte einbauen und Raid1 wieder einrichten. ... Kritisch bei all dem ist nur der Vorgang, eine Raid1 Platte zum Non-Raid zurückzusetzen ohne Datenverlust. ...
    (microsoft.public.de.german.windowsxp.setup)
  • Re: Temporarily going from RAID1 to single drive...
    ... > to my backup PC. ... > the data is stored in a RAID1 array. ... The HDDs are SATA drives. ... It's more important to know the RAID controller and look it up in the manual ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Temporarily going from RAID1 to single drive...
    ... my backup PC doesn't have RAID1 ... The HDDs are SATA drives. ... > It's more important to know the RAID controller and look it up in the ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: RAID array question
    ... RAID1 has the potential to be faster at reading if the controller is ... optimized to alternate the reading requests between the mirrors. ... RAID0 is definitely faster for writing than RAID1 or single drive. ... I have a hard disk recording a USB 2 stream of video data from a Hauppage ...
    (rec.video.desktop)