parfor-loop: How can I increase the number of workers?
Ältere Kommentare anzeigen
Hi,
I want to use a parfor-loop, but I have just 2 workers. How can I increase this number?
I thought that you can increase the number of workers in the Configurations Manager. There is a standard (?) manager 'local', but this manager has just 2 workers. And if I want to increase this number, the validation failed afterwards.
Thanks in advance!
Antworten (1)
Edric Ellis
am 2 Sep. 2011
0 Stimmen
You should be able to increase the number of workers for the 'local' scheduler, but the maximum is 8 (for R2011a) or 12 (for R2011b). Note that the default is set to the number of cores in your machine, and if you exceed that, you may find your PARFOR loops actually slow down.
Kategorien
Mehr zu Execution Speed finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!