Glibc's Per-Thread Cache Is Helping Out Some Benchmarks

Written by Michael Larabel in GNU on 6 August 2017 at 08:23 AM EDT. 29 Comments
GNU
Released this week was the shiny new glibc 2.26 GNU C Library with the notable new feature being the per-thread cache for malloc.

In most tests the glibc 2.26 upgrade isn't showing any major benefits, but for at least some there is. In particular, Redis appears to benefit greatly according to some new Phoronix Test Suite / OpenBenchmarking.org results:
redismalloctest

In fact, going from glibc 2.25 to 2.26 now makes it faster than jemalloc.
redismalloctest

redismalloctest

I'll be running some tests on my end shortly, but for now there is this OpenBenchmarking.org result file.
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