フィルターのクリア

Set the number of parallel workers (optimization)

4 ビュー (過去 30 日間)
Gerd Fuchs
Gerd Fuchs 2023 年 6 月 15 日
回答済み: Raymond Norris 2023 年 6 月 15 日
Hello,
I'm using the UseParallel option in fminunc on a system with 64 cores (128 logical cores). What is the best way to set the number of parallel workers in the parallel pool? Is it best to set it to the number of physical (64) or logical (128) cores?

回答 (1 件)

Raymond Norris
Raymond Norris 2023 年 6 月 15 日
64, though you can try more. You might find a 10-20% improvement as you add more workers (most likely not 2x as you get to 128)

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by