MATLAB Answers

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

4 views (last 30 days)
Arik Yochelis
Arik Yochelis on 31 Mar 2016
Commented: Feng Wang on 2 Jul 2019
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

Answers (1)

Dave Behera
Dave Behera on 4 Apr 2016
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?
  2 Comments
Feng Wang
Feng Wang on 2 Jul 2019
Could you please tell us how did you fix it in BIOS settings? We are experiencing the same problem. Thank you!

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!