When calling the matlabpool to work in parallel, does each worker work in single-thread mode?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Giovanni De Luca
am 11 Okt. 2013
Beantwortet: Jill Reese
am 11 Okt. 2013
Hi, when I call a matlabpool of workers, and each worker has to compute a routine which is optimized by the BLAS subroutines (e.g., the backslash operator), will each workers exploit the multi-thread mode or since I have called the matlabpool each of them will work in single-thread mode? (I assume the multi-thread mode is available for default when lunching MATLAB). Thanks
0 Kommentare
Akzeptierte Antwort
Jill Reese
am 11 Okt. 2013
Workers are started up in single-thread mode in order to avoid over-subscribing the machine and negatively impacting performance. Backslash would indeed be affected by this since it is multi-threaded by default when launching MATLAB.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!