Thread Subject: MATLAB and RAID

Subject: MATLAB and RAID

From: Andre Weideman

Date: 2 Apr, 2009 09:35:02

Message: 1 of 2

I got a new Dell Precision T3400 Quad Core 2, with RAID technology
(two disks, 320 Gig each). I can set it up as RAID-0, RAID-1, or just
use the second disk as a storage facility. I would like to optimize speed
in MATLAB (primarily floating point computations). What should I do?
Wikipedia tells me that RAID involves computations that could reduce my
processing speed. Would this offset the additional speed offered by
RAID-0? I am pretty much an ignoramus here. Thanks for any advice.

Andre'

Subject: MATLAB and RAID

From: Peter Boettcher

Date: 2 Apr, 2009 13:16:21

Message: 2 of 2

"Andre Weideman" <weideman@dip.sun.ac.za> writes:

> I got a new Dell Precision T3400 Quad Core 2, with RAID technology
> (two disks, 320 Gig each). I can set it up as RAID-0, RAID-1, or just
> use the second disk as a storage facility. I would like to optimize speed
> in MATLAB (primarily floating point computations). What should I do?
> Wikipedia tells me that RAID involves computations that could reduce my
> processing speed. Would this offset the additional speed offered by
> RAID-0? I am pretty much an ignoramus here. Thanks for any advice.

Completely irrelevant. If you are optimizing floating point
computation, (and have enough memory) then you are not even accessing
the disk.

Even when you do, the hardware disk controller handles the RAID
computations for you, so the CPU doesn't have to. And even then,
neither RAID-0 nor RAID-1 involve any computations. RAID-0 alternates
(stripes) data across the drives, while RAID-1 simply puts the same
stuff on both.

Using RAID-0 will speed up reads of large data. It may not make much
difference for opening lots of small files, like when you boot your
computer or start MATLAB. Only use this for your boot drive if you have
a solid nightly backup system.

RAID-1 is what I would use for a boot volume, where you store all your
documents, programs, etc. If one drive dies (sometime in your life, you
will very likely have a failed drive) just replace the one, let the
controller re-duplicate, and get back to work. RAID-1 *does* help with
read speed (similar to RAID-0), but slows down write speed.

-Peter

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
raid Andre Weideman 2 Apr, 2009 05:40:03
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com