フィルターのクリア

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 Center および File ExchangeParallel Computing Fundamentals についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by