Geeks for your information
Matlab Update Looks to Fix Dreadful AMD CPU Performance - Printable Version

+- Geeks for your information (https://www.geeks.fyi)
+-- Forum: News (https://www.geeks.fyi/forumdisplay.php?fid=105)
+--- Forum: Hardware News (https://www.geeks.fyi/forumdisplay.php?fid=38)
+--- Thread: Matlab Update Looks to Fix Dreadful AMD CPU Performance (/showthread.php?tid=10933)



Matlab Update Looks to Fix Dreadful AMD CPU Performance - harlan4096 - 02 April 20

Quote:
[Image: ZRUYKgD9V5tQyBqeorr2GZ-970-80.jpg]

Threadripper back to its full crunch.

If you've been on a Matlab and it up to date, you might have noticed that AMD CPUs perform dreadfully with the software compared to Intel chips in recent months. This is a massive shame for students and researchers, who would see time wasted if they were using AMD Ryzen or AMD Threadripper silicon. However, those days should now be over because as of Matlab version R2020a, Mathworks has implemented a fix, as spotted by ExtremeTech.

Mathworks describes Matlab as a an option for uniting a desktop environment "tuned for iterative analysis and design processes with a programming language that expresses matrix and array mathematics directly." One of its features allows users to create scripts combining "code, output and formatted text in an executable notebook."

Before the Matlab's update, there was a workaround for AMD users. In essence, the performance problems stem from the use of the Intel Math Kernel Library (MKL), which when using non-Intel CPUs drops back to the SSE1 SIMD extension, rather than the much more efficient SSSE2, SSE4, AVX1, or AVX2 extensions.

Now, AMD's chips do support AVX2 extensions, so the workaround was simply to force MKL to use the AVX2 extensions on Ryzen and Threadripper chips anyway, as detailed by Redditor nedflanders1976 four months ago.

For the most part, this hasn't been an issue for many individuals in research, as many research institutions have been loyally using Intel silicon. However, among students who opt for the more budget-friendly AMD systems, this has been a sore point of frustration, and with AMD's increasing dominance, many will appreciate this fix.

Of course, to get the fix you'll have to be on a licensed version of Matlab, which usually happens through your university or research institute.
...
Continue Reading