Parfor runs significantly slower in 2022b (Process profile) compared to 2019a (local profile)

7 ビュー (過去 30 日間)
Truc 2023 年 6 月 1 日
コメント済み: Edric Ellis 2023 年 6 月 1 日
I notice my script with parfor (with Parallel Computing Toolbox) runs significantly slower (10x) in Matlab 2022b compared to 2019a (same computer). The only visible difference is 2022b uses a 'Process' profile when starting parfor while 2019a uses 'local' profile.
Does profile setting affect parfor performance? 2022b only has "Process" and "Thread" profile. Are those the same with the "local" profile in previous Matlab versions?
  1 件のコメント
Edric Ellis
Edric Ellis 2023 年 6 月 1 日
"Processes" and "local" are precisely the same thing - the "local" profile was simply renamed in R2022b - see the release notes.
This is definitely not expected. Can you post any code which reproduces the performance problem you're seeing?


回答 (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