spmd performance

Hi I run a spmd in matlab,and I send an array to all workers before spmd and distribute another array in smpd but my problem is: when my array is large, speedup dosent exist however my workers dont need any comunication by each other but as I increase number of cluster's node, Speed up decrease. thanks in advance

Answers (1)

Jill Reese
Jill Reese on 20 Oct 2011

1 vote

Azam,
Could you actually post a bit of code? It would be a lot easier to make suggestions that way.
Best,
Jill

2 Comments

Aseman
Aseman on 23 Oct 2011
Hi,Jill
I found my mistake I wasnot sent all data to workers and they were read them in every iteration in loop. I sent all before loop and it worked.
Thanks for your attention
sam
sam on 15 Sep 2012
Aseman how did u send the data

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 19 Oct 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!