Intel Continues Tuning Glibc's Performance: More FMA'ing

Written by Michael Larabel in GNU on 8 December 2017 at 08:27 AM EST. 9 Comments
GNU
Intel continues contributing performance optimizations to the GNU C Library (glibc) for allowing various functions to make use of modern processor instruction set extensions.

Glibc this year has seen FMA optimizations, its per-thread cache enabled, AVX optimizations, and other performance work contributed in large part by Intel engineers. Glibc isn't gaining weight this holiday season but is continuing to be optimized for speed.

Yesterday there was sinf() tuning including an FMA-tuned version. Longtime Binutils/GCC developer H.J. Lu of Intel found that his fused multiply–add version of the sinf call is 54% faster on average, the minimum is a 25% improvement, and the maximum time was also a 54% improvement. Tests were done on Skylake hardware.

This is part of various benchmarking work going on right now for glibc.

These optimizations -- along with other optimizations -- and other new features will be found as part of Glibc 2.27. One of the other latest feature additions to Glibc is memory protection key support.
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