MATLAB Only Using One CPU on Dual-CPU System
16 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Taylor
on 13 Nov 2025 at 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 Comments
See Also
Categories
Find more on Parallel Computing Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!