Use all processors on workers.

3 vues (au cours des 30 derniers jours)
Ivan
Ivan le 2 Nov 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 commentaire
Jan
Jan le 2 Nov 2012
You did not explain your setup. Perhaps you did not configure the Matlab pool adequately?

Connectez-vous pour commenter.

Réponses (1)

Jason Ross
Jason Ross le 2 Nov 2012
Modifié(e) : Jason Ross le 2 Nov 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 commentaire
freebil
freebil le 3 Juil 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Parallel Server dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by