[Home]Differences Between Raid 1 And Raid 5

Contents | (Visit Preferences to set your user name.) | Related To Differences Between Raid 1 And Raid 5 | RecentChanges | Preferences | Index | Login | Logout

Featured: Featured Stories | Picture Gallery

QuickBooksTopAd1 | Amazon Associates Scripts
Google
Chat11.com Web Bible11.com MyBibleCenter.com

Raid Disk Arrays

Subjects > Computers (Search) > Raid Disk Arrays (Search for Disk Arrays)

Danny Pansters wrote:
> So statistically and theoreticaly RAID1 compares to no RAID at all as 2x read > speed, 1x write speed (it needs to be written twice but through two heads on > two drives seperately and assume they react and move at the same speed).

That's about right, but you should be aware of the fact that you are only considering a single transaction. When you think about a stream of I/O requests, either round-robin or geometric division of read access can perform better depending on whether you are moving lots or data (few big requests) or doing many small reads and being bound by seek times.

Because the heads may be in different places do to distribution of reads, the heads don't end up writing data out at the exact same time; allowing write to be asyncronous rather than requiring both drives to complete a write operation can speed things up, particularly if geometric distribution of reads is being used.

> Take a RAID5 with 5 drives that would in terms of data resiliance compare with > a RAID1 of 3 drives at best (right?).

No. A three-disk RAID-1 arry can retain data even if two drives fail. The RAID-5 array will lose data if two drives fail. In more complicated cases (RAID-10 and RAID-50), RAID-1 has significantly greater reliability than RAID-5.

Also, RAID-5 performance degrades horribly if a drive is down, whereas RAID-1 does fine...

> Change the above numbers for a RAID1 to > 3 drives and you have a 3x read and a 1x write speed. With the hypothetical > RAID5 as above we have 3x read and 1x write speed for data plus 2x read and > 1x write for parity info which will usually be smaller in size. Let's assume > they're of comparative sizes, to make things simple, then we have 5/2x reads > and 1x writes to compare.

For your analysis to be valid, you need to consider the size of I/O requests and the stripe or interleave size of the RAID arrays. For example:

A five-disk RAID-5 array has to read 4 sectors and write five sectors if you change one byte. 9 I/O ops compared with either 2 or 3, depending on whether one has a two-disk or three-disk RAID-1 mirror. In other words, RAID-1 small writes are often a factor of four times faster than RAID-5 writes for data much smaller than stripe size.

Likewise, your analysis of RAID-5 read performance neglects to consider the fact that data is only available on one drive, whereas will be available on two (or more) drives for RAID-1. For small reads, seek performance is critical and RAID-1 performance is close to n times that of a bare drive, where n is number of drives in array, and can sometimes even be slightly higher than n. RAID-5 performance can at best be (n - 1) and is usually closer half that because the I/O distribution potential of mirroring means you can't choose to utilize a drive that's free.

Perhaps a better way of putting it is that RAID-1 can decrease response latency by handling reads in parallel, whereas a RAID-5 array cannot because a particular set of data is only available from one place.

-- -Chuck

Sources:

From Raid Disk Arrays (Search)

Contents | (Visit Preferences to set your user name.) | Related To Differences Between Raid 1 And Raid 5 | RecentChanges | Preferences | Index | Login | Logout
Edit this chat11.com page | View other versions (diff)
Search:
Sign up for PayPal and start accepting credit card payments
instantly.
Bobsgear - Get A Free Enterrpise Wiki Space!
Review: The Bobsgear Project was started to develop a variety of Confluence plugins. This installation of the Confluence Enterprise wiki includes flexible attachments, many Confluence plugins, personal blogs, interesting articles, and more. Bobsgear already has spaces related to politics, art and photography wiki, technical issues wiki, ediscovery wiki, health, Christian theology and Sabbath School wiki, the bible, book reviews, and quotations. Bobsgear allows free signup, and invites anyone to create a free hosted Confluence wiki space.


NEW USERS CLICK HERE! for a quick introduction to Wiki.

 

 Interested in HomePages/Speed Of Light?
8545 total hits since 8/2007
Recently accessed pages: 17 Year Cicada 2004 Arts And Humanities Awards Beautiful Picture Of Marriage Christian Bookstores Christmas Fruit Cakes Debugging Utilities Error Copying File Or Folder - There Is Not Enough Free Disk Space Eugenic Young Men FDA And Animals Garnet's Bookmarks And Favorites - Website Creation GoogleStart How To Hit Longer Drives In Golf Insurance Johnny Depp Law List Of Phobias That Start With P Phil Henry Show Notes For February 12 2004 Popular Quotations Searches Quotation Success Seventh-Day Adventist Elder Guide To Social Activities Signal Sony AR VGN28GP State Of New York Stretching FAQ 2.3.1 - Why Bodybuilders Should Stretch

Elapsed:0