필터 지우기
필터 지우기

how can I use power of 24 cores in matlab?

조회 수: 2 (최근 30일)
Jack Ie
Jack Ie 2016년 5월 4일
댓글: Walter Roberson 2016년 5월 4일
I want to use full power of my G9 server (has 24 cores and 64GB RAM) to run a matlab script.
My test code heres (original code is complex but it's like this):
s=0;
parfor i=1:10000
for j=1:10000
for k=1:10000
s=s+i;
end
end
end
disp(s);
CPU usage is 25%.
how can I use power of 24 cores in matlab and improve CPU usage to 50% or higher?
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 5월 4일
Did you configure a pool and use parpool to open the pool?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by