Why Matlab doesn't use multiple cores on Windows server and on Win 7 does?

1 次查看(过去 30 天)
Dear all,
I have encountered an issue, in which, in Windows 7 MATLAB automatically uses all the CPU cores while in Windows Server 2012 it runs only on a single core (very low usage of the CPU). I have all MATLAB packages installed and run the same M-file. Is it normal? Any solutions for the problem?
Thank you in advance

回答(1 个)

Dave Behera
Dave Behera 2016-4-4
How did you determine that in Win Server 2012, only a single core is being used? Did this affect the performance of your script? I mean, does your .m code run slower in 2012 than in Win 7?
There is a way to force an application to use certain cores by setting a property called 'CPU affinity':
Can you try this?

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by