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

Antworten (1)

Jill Reese
Jill Reese am 20 Okt. 2011

1 Stimme

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

2 Kommentare

Aseman
Aseman am 23 Okt. 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 am 15 Sep. 2012
Aseman how did u send the data

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 19 Okt. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by