Using multiple CPU each with multicore, MATLAB only uses one of the CPUS

Hi,
I am trying to run a MATLAB code with a computer system that has two cpus and each have 12 cores. But when I use fft or fft2 command it only uses 50% of computing power, i.e. only one cpu or only 12 cores. When I use parallel processing toolbox similar thing is shown. When I use "matlabpool open" also it says 12 workers not 24 workers. How can I use the potential 24 cores that are in two cpus on my machine for vector operation or parallel processing in MATLAB? Any help or information is greatly appreciated.
Thanks, Moh.

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2014년 6월 23일

1 개 추천

In MATLAB 2014a, there are no limits to how many workers you can use on a single machine, however it is recommended that you use number of workers = number of cores.
Sounds like you have two CPUs with 12 cores each - in this case where each cpu is a node, you may need to use MDCS that can talk to a scheduler to distribute jobs across multiple machines.
These differences are explained here: http://www.mathworks.com/discovery/matlab-multicore.html

댓글 수: 5

Tyler Warner
Tyler Warner 2018년 5월 21일
편집: Tyler Warner 2018년 5월 21일
Hi, I'm not familiar with what MDCS is, I cannot find that in the link you provided. What does the acronym stand for?
Thank you. Did your server run with two NUMA processors? I believe I am having a similar issue. For example, my server is two NUMA processors, each with 10 cores. I tried running a program with 14 (to test) workers and it appears to me that the resource monitor is showing that only 10 are running with heavy computations while the rest are minimally used. Should I make a new question if this is not relevant here?
Unfortunately that was the only question that Moh asked, so I do not know if Moh will respond to you, nearly 4 years later now.
Okay, thanks. If anyone is interested, here is the question .

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Installation에 대해 자세히 알아보기

질문:

Moh
2014년 6월 22일

댓글:

2018년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by