Glibc Now Enables Tuning Framework By Default

Written by Michael Larabel in GNU on 15 June 2017 at 08:39 AM EDT. 6 Comments
GNU
Since the end of last year Glibc has offered a tunables framework that could be exposed via the --enable-tunables switch at compile-time while now it's being enabled by default.

Glibc's documentation describes their tunables support as:
Tunables is a feature in the GNU C Library that allows application authors and distribution maintainers to alter the runtime library behaviour to match their workload.

The tunable framework allows modules within glibc to register variables that may be tweaked through an environment variable.

As of the latest Git code, tunables is now enabled by default -- no longer requiring the enable-tunables switch at build-time but is now always on unless explicitly disabled.

Siddhesh Poyarekar's argument for enabling the tunables by default, "All of the major architectures are adopting tunables as a way to add tuning to the library, from hwcap_mask for aarch64 to HLE for s390 and ifunc and cache geometry for x86. Given this adoption and the fact that we don't want additional tuning knobs to be added outside of tunables, it makes sense to using this trivial patch."

The change will be found in glibc 2.26.
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