MATLAB Only Using One CPU on Dual-CPU System
11 次查看(过去 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
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!