Computing.Net > Forums > Windows XP > Mirror

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Mirror

Reply to Message Icon

Name: dan
Date: November 8, 2001 at 15:42:33 Pacific
Comment:

does anyone know how much of a performance increase is gained by mirroring two hard drives using a RAID card?

does XP support this?



Sponsored Link
Ads by Google

Response Number 1
Name: Solo
Date: November 8, 2001 at 18:13:36 Pacific
Reply:


It doesn't, if anything it slows it down.
If u want performance u need disk striping.


0

Response Number 2
Name: paulxdg
Date: November 9, 2001 at 06:22:06 Pacific
Reply:

Its not necessarily true that it slows down, it depends, it may speed up.

Performance may slow down if your environment is write intensive. Since you are miroring, an image has to be written to both disks, however the controller may buffer the writes and notify the OS that the write has completed even if the data is still in the buffer, or it may notify that the write has completed when only one of the disks has been updated, or it may wait for both. In advanced RAID configurations the spindles of the disks may be synchrosised and the writes occurr in parallel. There may be a large buffer in the controller and I/Os may be pended and sorted meaning physical updates occur less frequently and in larger I/O sizes reducing the seek on the disk.

Hardware mirroring in a controller is normally faster and more efficient than s/ware mirroring by the operating system.

Also dont forget that some controllers in mirroring or RAID-1 to give it its other name, do read balancing and alternate reads from both halves of the mirror, which increases read performance ABOVE that of RAID-0 (striping with no redundncy) which contains only 1 image of the data.

RAID-0 can speed up I/O by parallel reads, however this only generally applies in a large sequential read environment, such as database sequential processing or perhaps reading large sound or video files. Small random reads are better from a mirrored pair since when reading from a stripe a read request normally generates an i/o of a whole stripe, which means transfering no of disks in stripe x stripe size bytes into the controller buffer irrespective of the size of the I/O request from the operating system, hence if you're going to do this large I/O across the stripe and only use a fraction of the data as in a random read, you're introducing a large perfromance hit.

In large heavy use random I/O systems software mirroring of RAID/0 stripes can aid performance by balancing I/O across multiple spindles hence reducing hotspots, the large no of random I/Os are sorted by the raid controller and grouped together into larger contiguous(next to each other on the disk) I/Os again reducing seek.

You wouldnt run RAID-0 by itself in a commercial environment due to single point of failure, unless you can live with the downtime to replace and restore.

Another option RAID-5 gives you a cheap option for redundancy by striping parity across all disks in a stripe however suffers badly in write intensive environments unless there is a large I/O cache buffer.

I used to make a living out of tuning systems.

Paul


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Mirror

WinXP drive mirroring www.computing.net/answers/windows-xp/winxp-drive-mirroring/95385.html

Disk mirroring with XP www.computing.net/answers/windows-xp/disk-mirroring-with-xp/32169.html

Software Mirror www.computing.net/answers/windows-xp/software-mirror/159096.html