Why is MATLAB using 12% CPU at idle?

10 vues (au cours des 30 derniers jours)
Stephen Wilson
Stephen Wilson le 1 Août 2020
Commenté : Stephen Wilson le 6 Août 2020
I just installed 2020a on a Thinkpad X1C5 laptop running Ubuntu 18.04. It is using ~12% CPU at idle.
This is a fast machine (core i7-7500U @ 4x 3.5 Gz) so no reason this should be happening. I run this version of MATLAB on other (desktop) machines on the same OS with no problems. I have also run other versions of MATLAB (most recently 2018a) on this laptop without seeing any significant CPU usage at baseline.
Everything is stock, e.g. built-in java, etc. The system is fully up-to-date, restarted, and so on.
  5 commentaires
Stephen Wilson
Stephen Wilson le 6 Août 2020
Further update: Bug is also present in 2019b, but is not present in 2019a.
Stephen Wilson
Stephen Wilson le 6 Août 2020
Also, the bug exists even if no toolboxes are installed. My only workaround for now is to use 2019a.

Connectez-vous pour commenter.

Réponses (1)

Chidvi Modala
Chidvi Modala le 4 Août 2020
The issue is specific to system settings, or due to a third party software installed in the system.
Many products in MATLAB rely on connector to maintain certain states. The connector creates and uses sockets. These sockets are being closed or altered by a third party software installed in the system, or specific system settings, due to which the CPU is spinning.
As the issue is system specific, you can try the following troubleshooting steps:
1) Change the power settings to High performance. To do this, open Power Options by clicking the Start button, and then clicking Control Panel. In the search box, type power options, and then click Power Options. Under Select a power plan, click Show additional plans, and then click High performance.
2) Download and run MSI Afterburner system utility to boost MSI graphics card. Please refer the link for more details on solving High CPU usage:
3) As a third party software is closing the sockets used by MATLAB connector, try killing processes (in Task Manager) which are of no use and are running in background.
If the above troubleshooting steps do not help resolve the issue, then the only workaround is to kill the MATLAB process, and restart the session.
  1 commentaire
Stephen Wilson
Stephen Wilson le 4 Août 2020
Thanks for your time but sorry, you seem to have missed the information that this is a linux system. But even so, this problem is 100% reproducible and happens immediately on launch of MATLAB, so restarting the session is not a workaround. Anyway, tech support is working on this now.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by