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

Réponses (1)

Jill Reese
Jill Reese le 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 commentaires

Aseman
Aseman le 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 le 15 Sep 2012
Aseman how did u send the data

Connectez-vous pour commenter.

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Question posée :

le 19 Oct 2011

Community Treasure Hunt

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

Start Hunting!

Translated by