Thread Subject: Matlab 2008b supports multithreading?

Subject: Matlab 2008b supports multithreading?

From: Luna Moon

Date: 28 Feb, 2009 15:20:27

Message: 1 of 2

If I have Quad Core, with 4 cores,

how much portion of Matlab 2008b now supports multi-threading?

Without changing my previously coded Matlab programs, will I see a
significant improvement?

Subject: Matlab 2008b supports multithreading?

From: Steven Lord

Date: 1 Mar, 2009 17:53:08

Message: 2 of 2


"Luna Moon" <lunamoonmoon@gmail.com> wrote in message
news:dd951397-0927-4532-ae53-076291dfa083@40g2000prx.googlegroups.com...
> If I have Quad Core, with 4 cores,
>
> how much portion of Matlab 2008b now supports multi-threading?

Most of the functions that invoke LAPACK or BLAS, assuming the problem is
large enough, and some of the elementwise functions. [We don't offer a list
of the functions. We don't want users to avoid certain functions because
they're not on the list -- they may support multithreading in a future
release.]

This assumes you mean implicitly multithreaded, where you the user don't
need to do anything special to enable the multithreading. If you want to
explicitly multithread your function, look at Parallel Computing Toolbox and
MATLAB Distributed Computing Server.

> Without changing my previously coded Matlab programs, will I see a
> significant improvement?

This question is impossible to answer as stated.

If your previously coded MATLAB program is the following, it will not see
ANY improvement.

function z = addup(x, y)
z = x+y;

If it tries to compute and work with the LU or QR factorization of large
matrices, then you may see some improvement.

--
Steve Lord
slord@mathworks.com

Tags for this Thread

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.

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