Why does the Activity Monitor on Mac not show a full CPU usage when running MATLAB jobs with the built-in multithreading feature?
On my 8-core Mac machine, when I run the "eigs" function on a large sparse matrix, the Activity Monitor shows MATLAB's CPU usage at about 750%
I have learned that Activity Monitor on Mac doesn't cap CPU usage percentage at 100%; rather, it allocates 100% per core. Given this, with an 8-core system, which effectively has 16 logical cores due to multithreading, the total CPU capacity can reach up to 1600%.
The "eigs" function does indeed leverage the MATLAB built-in multithreading feature, as detailed here:
https://www.mathworks.com/discovery/matlab-multicore.html .
According to the Activity Monitor, the CPU usage for running the "eigs" function, at 750%, utilizes less than half of the total available CPU capacity. Why is MATLAB not leveraging more CPU power to improve performance?
Accepted Answer
0 Comments
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!