フィルターのクリア

why parpool only shows half of the processors

1 回表示 (過去 30 日間)
Mujahid Sultan
Mujahid Sultan 2017 年 8 月 13 日
回答済み: Walter Roberson 2017 年 8 月 14 日
!nproc shows 56 where as parpool only 28. (more interesting: mapreduce function uses all aviable (56) workers and returns results for only half (28) - I am loosing half of my data GREAT.

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 8 月 14 日
The default 'local' pool is created only with the number of physical cores, not the total number of hyperthreads available, as using hyperthreading can reduce performance for computation. You can edit your 'local' pool configuration to change that.
Note: there have been reports that in virtualized systems, the detection algorithm might think there is only half the number of available processors.

カテゴリ

Help Center および File ExchangeTall Arrays and mapreduce についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by