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

回答(1 个)

Jill Reese
Jill Reese 2011-10-20

1 个投票

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

2 个评论

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
Aseman how did u send the data

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

提问:

2011-10-19

Community Treasure Hunt

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

Start Hunting!

Translated by