Pecos SoftWareWorks
Custom Search
Featured Pages

Recommended for developers:

Videos

The AMAZING Gato video!
Video - Gato the amazing rafter cat

Lesser Goldfinch family preening

Reviews

LCD Vs. CRT - Do LCDs finally match CRTs in picture quality?

ECS P965T-A Motherboard

ABIT AN8 SLI Motherboard

Foxconn 975X7AB-8EKRS2H Motherboard

Foxconn BlackOps Motherboard

My misadventures flying with Allegiant Air
My misadventures flying with Allegiant Air

Mysteries

The Missing Post Mystery
A post I made to a Vista newsgroup was missing from the Outlook newsreader
Where did it go?

The Missing Post Mystery Revisited
It happened again! A post I made to a Vista newsgroup was missing from the Vista Mail newsreader
Where did it go?

A Case of Maxtaken Identity
When is a hard drive not a hard drive? Find out when!

How To

Changes to the Windows 7 Taskbar You Should Know About

Vista Image Capture 'Slipstream' SP1 and SP2 into a single Vista install disc
Detailed Instructions for Reverse Integrating SP1 and SP2 into Vista

What is RAID? Some RAID Basics
RAID 5 on a Desktop PC

How to Personalize Windows Vista

Develop and Implement a Personal Backup Plan

Ten things you can do to create better documentation
(Tech Republic)

Flash Your BIOS
Three Good Reasons for Flashing Your BIOS

Ten common mistakes you should avoid when flashing your BIOS
(Tech Republic)

Find a new dial-up ISP
Sign up for 10 free hours of NetZero access!

Create a Shutdown/Sleep/Restart or Continue Icon For the Vista Desktop

What is a computer guy doing with home remodeling projects on his Website?

The Upscale Utility Room Remodel with Catch Basin and Wraparound Ceramic Tile Wall

The Bathroom Remodel for Under $1000 Project

The Do It Yourself Bedroom Engineered Prefinished Red Oak Wood Flooring Installation From Hell

Bedroom Remodel With Wood Parquet Flooring

Use Comodo Internet Security 4.0 to Lock Down Your PC Following a Windows Install or Reinstall

Classics

The Northstar Horizon Microcomputer

Pics

Round-Tailed Ground Squirrels
View More Round-Tailed Ground Squirrel Photos
Prairie Dogs
View More Prairie Dog Photos
American Kestrel Falcons "Sparrow Hawk"
View More American Kestrel Falcon Photos
Arizona Sonoran Desert
View More Arizona Sonoran Desert Photos
Arizona Sunsets
View More Arizona Sunsets Photos
Cienega Creek
View More Cienega Creek Photos
Trains In the Desert
View More Trains In the Desert Photos
Desert and Mountain Flowers
View More Desert and Mountain Flower Photos
Fox Squirrels View More Fox Squirrel Photos

Watchdog

eBay ePacket Direct Shipping From Hong Kong - Should You Risk it? eBay Buyer Protection and What You Should Know About Buying From Overseas

The Other Reason Why Your Irrigation Valve Might be Leaking

My Response to the Newegg Affiliates Program Changes

Playing the Rebate Game
Know the Rules Before You Play

Vista Confusion
The four questions you need to ask before buying Vista

Intel Matrix RAID - What is RAID?

Some RAID Basics

RAID (Redundant Array of Inexpensive/Independent Disks), uses a RAID controller to combine the available space of two or more physical drives. This new 'virtual' disk space is called an array in RAID jargon. The virtual disk space can be allocated as one or more volumes. Intel Matrix RAID supports one or two volumes per array. The individual physical drives in the array are called member drives. Member drives can be any physical storage medium supported by the RAID controller.

RAID Array Definitions

Once one or more RAID volumes have been created and recognized by the operating system (may require special drivers), the RAID volume appears to the OS as any physical disk would in non-RAID mode. The volume can be partitioned into separate logical drives in the OS just as you would with any hard disk drive.

This article assumes that RAID is being implemented on a desktop PC.

RAID is complicated - how it is implemented, how it works and what happens when things go wrong.

Note: RAID is not a data backup solution. RAID is data redundancy but not data backup. Regular backups should be performed to provide an additional copy of your data files.

Some RAID basics

In order to determine the best RAID options for a desktop computer we need to understand the types of RAID available to the average consumer. There are many flavors or types of RAID:

Controller Type
A good RAID controller hardware based card costs at least $300 USD. This is prohibitive for most desktop applications. That leaves firmware/driver based or software based RAID as our only choices for a desktop RAID solution.
Firmware/driver brand type

The brand type depends on the chipset utilized on your motherboard. Intel Matrix RAID (394 KB pdf) is the most widely firmware/driver based RAID available today and the RAID solution I will be discussing in this article. Your motherboard might already support firmware/driver RAID. To find out if your Intel based motherboard supports RAID and what features are supported, you need to know the type of I/O Controller Hub (ICH) on the motherboard. You will also need two or more matching drives. If you are using Intel Matrix RAID the hard drives must be SATA drives. Avoid mixing two or more different drives. Performance can suffer and the total space available in the RAID array will be limited by the smallest member drive in the array.

If your motherboard does not support firmware/driver based RAID you can still use software based RAID. Because software RAID utilizes software running in the operating system, the OS must be started before the software RAID is available meaning that the OS cannot be part of the RAID array. For this reason software RAID cannot maximize overall system performance and firmware/driver based RAID is a better choice for best performance.

Volume type or RAID levels

An array can be configured in a number of ways called levels. RAID levels that provide for recovery of data from the loss of one or more drives are called fault tolerant RAID levels. Fault tolerant RAID levels provide data redundancy either by duplicating or mirroring the data on two or more drives or through more complex schemes that use XOR calculations or parity. How you should configure your RAID array depends on what you want to accomplish with your data. There are a number of strategies for data management - maximize performance, maximize available space, maximize data safety or a combination of these.

RAID Level Drives (Min) Advantages Disadvantages
RAID 0 2 Improved R/W speed
Maximizes available disk space
A single disk failure will result in the loss of all data
RAID 1 2 Improved read speed
Data redundancy
Slower write times than RAID 0 or single drive
RAID 5 5 Data redundancy
Maximizes available space while still providing data redundancy
Extremely long rebuild times
Cost of 3 drives
Slower write times
More CPU intensive
RAID 10 and 01 4 Combines data redundancy with speed
More available drive space than simple mirror
Cost of 4 drives
Motherboard or case may not support 4 drives
Intel Matrix RAID 2 Combines two volumes in one array offering the advantages of both speed and redundancy on only two drives Requires an Intel based motherboard with RAID support
Requires SATA drives

Widely used RAID levels. Not all of these are suitable for desktop PCs.

Each RAID level has its pros and cons. Because we are discussing RAID on a desktop, the focus will be on RAID 0, RAID 1, RAID 5 and some combinations of those using Intel Matrix RAID. RAID 10 and RAID 01 (not to be confused with Intel Matrix RAID) require four drives making the hardware costs prohibitive for the typical desktop PC.

RAID 0

RAID 0 or striping requires two or more drives. The data is 'striped' or stored across all member drives in the RAID array in blocks or chunks of data called strips. The strip size varies but can be no smaller than the smallest sector size of the member drives and can range from 1 sector to 256 sectors or typically 512 bytes to 128 KB. The strip size is chosen at volume creation and cannot be changed. For a two drive RAID 0 volume two strips make up one stripe.

If there are two drives in the array, the data will be written to both drives beginning with the strip on the first drive. If the available space in the strip can accommodate the data, the data will be written to only one drive. The RAID controller takes advantage of the ability to read and write to both physical drives at the same time. As you might have guessed, this improves the read/write times as compared to a single drive. If you are interested in learning more about how data is stored on a RAID volume, Storage Review.com has some excellent diagrams showing how data is written to a RAID 0 volume, a RAID 1 volume and a RAID 5 volume.

There is a particularly dangerous downside to RAID 0. A single or multiple disk failure will result in the loss of all data on the RAID 0 volume. The very act of using two or more drives increases the likelihood that you will experience a drive failure. For this reason, you should never put any data on a RAID 0 volume that you can't afford to lose. Redundancy? There is no redundancy at all with RAID 0.

RAID 0 is the best choice for maximum performance. Nearly everyone using a desktop PC has important files that they can't afford to lose. For this reason, one RAID 0 volume is not a good idea for the desktop PC. Who then should use a RAID 0 only solution? If you have a good way to reliably back up you important files then RAID 0 could be a good choice. You might be able to make the case that running RAID 0 with a backup solution like Carbonite or Mozy or an external backup drive would make sense. Perhaps, but no backup solution is perfect and there is still a risk of data loss. Gamers could use RAID 0 if they don't mind losing their saved settings and files and if they have no other important information on the PC.

Volume capacity = # of drives * capacity of smallest drive

RAID 1

RAID 1 or mirroring like RAID 0 requires two or more drives. The data is 'mirrored' or stored identically on both drives. The RAID controller is able to read from both drives at the same time speeding up read operations. Because the data is replicated on both drives, data must be written twice, once to each drive. There is no speed advantage for writes to a RAID 1 volume. There is in fact a slight reduction in write times to a RAID 1 volume.

RAID 1 is not a good choice for maximum performance. RAID 1 is an excellent choice if you are seeking fault tolerance (the failure of a single drive)

Intel Matrix RAID only supports RAID 1 with member drives in multiples of 2.

Volume capacity = (# of drives divided by 2) * capacity of smallest drive for a two drive array

RAID 5

RAID 5 or striping with parity requires at least three member drives. Total available volume size is optimized and data redundancy is achieved by using a distributed striped parity scheme. It does so at the cost of slower write speeds.

You will be disappointed with RAID 5 if you are looking for the best RAID performance.

Rebuild times can be extremely long for large volumes. It is typical to see rebuild times exceeding 24 hours for 1 terabyte volumes. Fortunately, volume rebuilds are rare occurrences.

Volume capacity = capacity of smallest drive * (# of drives - 1)

Intel Matrix RAID

Intel Matrix RAID is a clever RAID implementation. You can have two RAID volumes, one RAID 0 volume and one RAID 1 volume for example, in one array using only two member drives. If you have three drives you can combine one RAID 0 volume and one RAID 5 volume. RAID 10 (4 drives) is also supported.

Intel Matrix RAID allows you to benefit from the performance achieved from RAID 0 and data redundancy provided from RAID 1. At first glance Intel Matrix RAID is perfect for desktop computers. It is flexible, reliable, inexpensive and widely available.

The Intel Matrix Storage Manager (IMSM)

The IMSM console is a GUI that is useful for getting information about the member drives and volumes. The console has two modes, basic and advanced. Switch to the advanced mode to perform tasks related to the RAID array.

The IMSM notifies you about the status of the RAID array at Windows Vista startup. A notification balloon will appear with the volume status when you have at least one RAID volume with data redundancy. Most of the time the notification balloon will notify you that all is well and the RAID array is in a normal state.

IMSM Balloon Showing Normal Status

When Vista starts and a volume is being verified, Verified and Repaired or Initialized (RAID 5), a notification balloon will pop up notifying you of the volume recovery process.

IMSM Balloon Showing Verification and Repair in Progress

Want more information?

Maximize the performance of Windows Vista and Intel Matrix RAID

Maximize the performance of Windows Vista and Intel Matrix RAID Part 2

RAID 5 on a Desktop PC RAID 5 on a Desktop PC

Pecos SoftWareWorks Home Contact Me Terms of Use Rev 09/30/10 Privacy Policy Rev 05/20/09 About Us Site Map

© Copyright 2007-2015 Alan Norton
None of the content may be used or reproduced without written authorization from Alan Norton.