フィルターのクリア

workers idling after a while when using parfor loop

3 ビュー (過去 30 日間)
Johan Reinink
Johan Reinink 2015 年 11 月 6 日
コメント済み: Edric Ellis 2015 年 11 月 6 日
I have a script that fits 2D gaussians in captured images from my measurement setup. Since I generate ~100.000 images every measurement that's quite a task. I have a parfor loop to analyze these images and it works fine, but after several hours only about a quarter of the workers are still busy, the rest is idling. This leaves the system underused and I can't figure out why, especially because it starts out working fine but breaks somewhere along the way. Can anybody help me to debug this?
  1 件のコメント
Edric Ellis
Edric Ellis 2015 年 11 月 6 日
parfor uses a static means of distributing work, but it attempts to load-balance so that this situation does not occur. Do you know if the analysis can take a different amount of time for different images? If so, that can cause load imbalances.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by