Does matlab create only one worker on each core when you use parallel toolbox?

I have R2011b, use parallel toolbox and wanna know how it duplicates workers. Is it supposed to create just one worker on each core?

 Respuesta aceptada

Yes, that's right - the default is to use the number of physical cores (not hyperthreaded cores). You can override this choice by setting the NumWorkers property of the local scheduler.

4 comentarios

thanks a lot. so I can have workers more than the number of my physical cores; but is there any upper limit for number of workers?
Edric Ellis
Edric Ellis el 7 de Mayo de 2015
Editada: Edric Ellis el 7 de Mayo de 2015
Yes, in R2011b the limit is 12 for the local scheduler. If you upgrade to R2014a or later, this limit is removed. (There is no limit in R2011b if you use MATLAB Distributed Computing Server workers).
I appreciate it
The Parallel Computing Toolbox doesn't assign workers to cores, the OS does as system resources become available.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Parallel Server en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

m r
el 7 de Mayo de 2015

Comentada:

el 7 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by