Use all processors on workers.

3 visualizaciones (últimos 30 días)
Ivan
Ivan el 2 de Nov. de 2012
Hi, i just want to ask if i can use all processors on worker. I have cluster with 12 workers and each worker has 12 processors. Now it seems like it takes just one processor per worker, which is wasting of computing power.
  1 comentario
Jan
Jan el 2 de Nov. de 2012
You did not explain your setup. Perhaps you did not configure the Matlab pool adequately?

Iniciar sesión para comentar.

Respuestas (1)

Jason Ross
Jason Ross el 2 de Nov. de 2012
Editada: Jason Ross el 2 de Nov. de 2012
I'm assuming you have a cluster with 12 machines, each with 12 cores.
If you wanted to utilize all the CPUs with one worker per core, you'll need to start 12 workers on each machine, for a total of 144 workers.
Make sure that you keep an eye on memory utilization and network bandwidth utilization, as well -- if you go into swap or saturate your network connection, you can have a negative impact on performance, as well.
  1 comentario
freebil
freebil el 3 de Jul. de 2013
I have the same question.If i have a cluster with 12 machines,each with 12 cores, and i start 12 workers on each machine, is it necessary to write 144 tasks to use all the cores of all machines?Morevover,is it necessary to add parfor command to my program?Thanks

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Parallel Server en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by