フィルターのクリア

Can I increase the number of worker threads the parallel toolbox uses?

1 回表示 (過去 30 日間)
Matthew Phillips
Matthew Phillips 2013 年 10 月 18 日
コメント済み: Walter Roberson 2013 年 10 月 18 日
I'm running 2013b on a 16-core SuperMicro workstation (Ubuntu 12.04) as well as an 8-core ASUS Zenbook (Windows 8) and in both cases, the number of threads used is half the number available. maxNumCompThreads gives the same numbers, 8 and 4 respectively. For either system, but especially the workstation, is there a way to get the OS to give Matlab more threads? I don't see any reason to leave the extra cores idle.

採用された回答

Shashank Prasanna
Shashank Prasanna 2013 年 10 月 18 日
Intel CPUs with hyper-threading give the appearance that a computer has twice as many cores than it actually has. The additional number of cores you see are essentially Virtual cores. Even if you were able to spawn more threads than 8 on the first machine, you would most likely see performance degradation due to threads fighting each other for cpu time. Take a look at the Hardware Considerations section of this link:
  2 件のコメント
Matthew Phillips
Matthew Phillips 2013 年 10 月 18 日
Hmm, I can manually control the # of threads with my C++ apps, I will test this and see if it results in actual degradation or improvement. But as far as the prospect of getting more threads in Matlab is concerned, it looks like you have answered my question.
Walter Roberson
Walter Roberson 2013 年 10 月 18 日
It is possible to use the hyperthreads if you want to. There is a configuration file that you would need to edit; I do not recall which one.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCluster Configuration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by