Use all processors on workers.

3 views (last 30 days)
Ivan
Ivan on 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 Comment
Jan
Jan on 2 Nov 2012
You did not explain your setup. Perhaps you did not configure the Matlab pool adequately?

Sign in to comment.

Answers (1)

Jason Ross
Jason Ross on 2 Nov 2012
Edited: Jason Ross on 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 Comment
freebil
freebil on 3 Jul 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

Sign in to comment.

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!