MATLAB, SVCHOST, UXSMS, High Cpu
Show older comments
Recently, when I open MATLAB, my cpu usage goes up drastically, even when MATLAB is idle. I checked task manager and MATLAB.exe uses 10% of cpu and svchost.exe uses 20%. When I close MATLAB, MATLAB.exe disappears and also svchost usage goes down to 1 or 2%. It happens every time. I checked Resource Monitor and it is UxSms service that uses all the portion of svchost.exe when MATLAB is running and it disappears if I close MATLAB. any solution?
I think it is related to Graphic Card, but I reinstall my graphic card driver and still have this issue.
7 Comments
Walter Roberson
on 5 Jan 2017
You could experiment with turning off that service: http://www.computerstepbystep.com/desktop_window_manager_session_manager_service.html
Adam Law
on 19 May 2017
Has Mathworks figured out an actual solution for this yet? I have the same problem on my Dell E7450 (and have had the issue for over a year).
I can use an older graphics driver, but that causes other issues.
Walter Roberson
on 19 May 2017
This is potentially related to the Aero interface; https://www.mathworks.com/matlabcentral/answers/43170-viewing-variables-in-debug-window-disables-aero-interface
Kevin GETIN
on 6 Jul 2017
Same issue for me and my coworker. * Windows 7 64bits * Matlab 2016a or 2014b
svchost.exe (service UxSms PID 1036) uses about between 12-15% when Matlab is running.
Has anybody found a solution?
Kevin GETIN
on 6 Jul 2017
Ok, so as Adam Law said in his comment, using an older version of graphic card driver seems to have fixed the issue for me.
For those that can help, I uninstalled the driver version 10.18.14.4432 of my Intel HD Graphics 4600. And with previous version 10.18.10.3574, everything seems to be back to normal.
Andreas
on 14 Jul 2017
Same issue here wird Intel HD Grapgics 4600 (10.18.14.4578).
None of the mentioned workaround (opengl, aero) workes here.
Matlab R2016b.
Same issue on Dell laptop with 4400 and driver version 10.18.14.4280.
The workaround is to Open MATLAB, Stop the UxSms service, close MATLAB, reopen MATLAB and then start the UxSms services again. It's a pain but it works for me.
I think I'll try rolling back the driver to see if that works.
For what it's worth I had contacted MATLAB support who had no solution but thought it was a Dell custom video driver issue. (They typically are not using the same version as the Intel driver and I cannot install the Intel driver--it says I need to get the OEM version from Dell.)
Turning of Aero also works but that causes other problems such as the MATLAB Editor window being completely blank.
Answers (2)
Philipp Dehnen
on 4 Jan 2017
1 vote
Hi,
i have exactly the same issue since about 3 weeks. The problem seems to be correlated with the desktop windows manager called dwm.exe which have also about 2% cpu time. I don't have a real solution but i figured out two workarounds to work with matlab without high cpu usage and the following battery leak:
#1 start matlab out of the command line from windows with: matlab -softwareopengl
But on my machine i do not have any graphic smoothing anymore.
#2 switch to a windows basic design with high contrast and than start matlab normally
The basic design do not need dwm.exe and the cpu goes back to normal 0-1%. After matlab startup you should be able to return the previous design without troubles (at least on my machine).
Hope this helps temporary but is long-dated not satisfactorily.
1 Comment
Adam Law
on 19 May 2017
This works, temporarily. As soon as I plot something, the static 10% usage comes back from both Matlab and the UxSms service.
r.vaghefi
on 13 Jun 2017
1 vote
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!