MATLAB Only Using One CPU on Dual-CPU System
16 ビュー (過去 30 日間)
古いコメントを表示
I have a dual 12-core, 24-thread system. MATLAB, for some reason, is only fully utilizing one of the CPUs. It spawns 24 threads, but all of them seem to run on a single CPU.
Ideally, I would expect either:
- 12 threads per CPU (24 threads total), or
- 24 threads per CPU (48 threads total, if MATLAB scales that way),
but not 24 threads on one CPU.
I’ve attached a screenshot showing the CPU usage. Can anyone please help me understand why this is happening and how to fix it so MATLAB properly distributes threads across both CPUs?

0 件のコメント
回答 (1 件)
Taylor
2025 年 11 月 13 日 20:16
Have you tried configuring your local cluster profile? You may also need to disable hyper-threading in BIOS and configure your processor affinity.
I think the following posts will be useful for you:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Parallel Computing Fundamentals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!