Could you post some code showing the two ways that you tried using spmd? My first thought is that you avoided communication between the workers when you used composites and that was why it was faster. However, there's often ways to do the same with dristributed arrays.
composites
1 次查看(过去 30 天)
显示 更早的评论
hello, I have a code which processes a large data set. i tried to use spmd and distribute the data among the workers. but it did not speed up things. but when i used composite object to send data to workers large speed up was obtained using core i5.
why composites are better? Is it most likely that composites would always work better than distributed arrays?
-obli
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Parallel Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!