Clear Linux Discovers Another AVX2/AVX512 Fix/Optimization To Yield Better Performance

Written by Michael Larabel in Intel on 23 May 2019 at 08:09 PM EDT. 8 Comments
INTEL
For those running a system with AVX-512 support, Clear Linux builds as of this week should be yielding even better performance on top of their existing AVX2 and AVX-512 optimizations.

The Intel developers working on Clear Linux uncovered an issue how the new GCC 9 compiler has been building the important libm math library poorly in AVX2/AVX-512 mode. This poor code compilation yielded slowdowns in various math functions since the switch to the GCC 9 compiler.


As of the Clear Linux builds since Wednesday, the issue should be addressed. Meanwhile the Intel developers are working on a proper upstream fix as well to GCC/glibc, benefiting other Linux distributions as well when moving to newer versions of these important toolchain components.

I looked at some tests briefly using an AVX512-enabled Xeon Silver 4108 and indeed in many workloads there are nice improvements to be found.
Clear Linux Daily Tracker - 2019-05-21

Clear Linux Daily Tracker - 2019-05-21

By far the biggest winner of this fix/optimization was Smallpt:
Clear Linux Daily Tracker - 2019-05-21

I'll be trying out more tests of the latest Clear Linux on other systems shortly.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week