Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ParallelDo' topicStudent Support Forum > General > "ParallelDo"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
11/18/12 5:54pm

In Response To 'Re: Re: ParallelDo'
---------
Sorry for the late response
If you are just reassigning it means memory copying of some sort
Now, for the model that Mathematica uses for parallel computation, using several kernels, means to copy the data to those kernels and this is additional overhead (thus poorer performance of the parallel implementation).
If on the other hand, calling QN1[j], QN2[j]
etc., performs a LONG computation, than parallelization would lead to better results.
So, without getting into too much details, you need to know how much computation (CPU time) vs memory copying is involved, and then decide according to the specific case

URL: ,

Subject (listing for 'ParallelDo')
Author Date Posted
ParallelDo daniele pera... 11/08/12 05:27am
Re: ParallelDo yehuda 11/11/12 03:48am
Re: Re: ParallelDo daniele pera... 11/12/12 05:48am
Re: Re: Re: ParallelDo yehuda 11/18/12 5:54pm
< Previous CommentHelp | Reply To Comment | Reply To Topic