[Date Index] [Thread Index] [Author Index]
Re: ParallelMap inefficient?
Hi, > Hi Jens. The ParallelMap[ ] routine is for algorithms that are "embarassingly > parallel", i.e., there is no coupling between the processes. Since the toolkit has only the master/worker model you must send the data from the master to the workers and get the results back. In the simple examples you gave, the overhead for exchanging data and data will dominate allmost everything > Therefore, if you > map N processors over a 50 element list, with a single master computer and N > slaves, an upper bound on the time might be > > time to process = 50 * T_slowest_comm_master_slave + 50/N * > T_compute_slowest_computer +/- small_fudge_factor > > When I hand code the ParallelMap[ ] functionality myself, I see this sort of > performance. When I use the function supplied with the toolbox, I see > something different. That was the point. What kind of client tasks ?? Regards Jens