parfor-loop: How can I increase the number of workers?
Mostrar comentarios más antiguos
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!
Respuestas (1)
Edric Ellis
el 2 de Sept. de 2011
0 votos
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.
Categorías
Más información sobre Execution Speed en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!