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

7 views (last 30 days)
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 Comment
Edric Ellis
Edric Ellis on 1 Jun 2023
"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?

Sign in to comment.

Answers (0)


Find more on Parallel for-Loops (parfor) in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!