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

1 回表示 (過去 30 日間)
Arik Yochelis
Arik Yochelis 2016 年 3 月 31 日
コメント済み: Feng Wang 2019 年 7 月 2 日
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?
  2 件のコメント
Arik Yochelis
Arik Yochelis 2016 年 5 月 2 日
Thank you for the suggestion. The problem was and resolved via BIOS setting
Feng Wang
Feng Wang 2019 年 7 月 2 日
Could you please tell us how did you fix it in BIOS settings? We are experiencing the same problem. Thank you!



Help Center および File ExchangeSoftware Development Tools についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by