Path: news.mathworks.com!not-for-mail
From: Edric M Ellis <eellis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Codistributed arrays performance
Date: Tue, 10 Nov 2009 08:08:45 +0000
Organization: The Mathworks, Ltd.
Lines: 13
Message-ID: <ytw3a4mer8y.fsf@uk-eellis-deb5-64.mathworks.co.uk>
References: <hd70vh$n62$1@fred.mathworks.com> <ytwws20dqco.fsf@uk-eellis-deb5-64.mathworks.co.uk> <ytw7htzeou2.fsf@uk-eellis-deb5-64.mathworks.co.uk> <hd9m1i$oa3$1@fred.mathworks.com>
NNTP-Posting-Host: uk-eellis-deb5-64.mathworks.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fred.mathworks.com 1257840525 14532 172.16.27.232 (10 Nov 2009 08:08:45 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Nov 2009 08:08:45 +0000 (UTC)
X-Face: $Ahg}Iylezql"r1WV1Me5&)ng"a4v%D>==KMs-elCfj"o}$bh-VOt7lVXgLWsC?9mZ`mINT
 G6PDvca;nrgs$lfcr0l1ew'N]>nXKl}m|Zpg>,6*gLp~-N0N2*+b.iwv=u>@R$L4SEG&NYUU;lSR@u
 IHphdAy
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:rWJgzIIrqorwmAiJURqe0T0b2pM=
Xref: news.mathworks.com comp.soft-sys.matlab:583758


"Scott " <lorentz-spampadded@fastmail.fm> writes:

> Ah, I see, good to know. Is parfor then the route to better performance when
> applicable, or is the parallel toolbox really just for large data sets at this
> point?

In general, if a problem can be addressed using parfor, it will almost certainly
be quicker as there are fewer synchronisation points for communication, and the
dynamic scheduling attempts to get better load-balancing.

Cheers,

Edric.