Glibc Benchmarks

The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. This test profile makes use of Glibc's "benchtests" integrated benchmark suite.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark glibc-bench.

Project Site

gnu.org

Source Repository

sourceware.org

Test Created

29 June 2017

Last Updated

17 March 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 58 Seconds

Average Run Time

17 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Bison

Accolades

100k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsGlibc Benchmarks Popularity Statisticspts/glibc-bench2017.062017.092017.122018.032018.062018.092018.122019.032019.062019.092019.122020.032020.062020.092020.122021.032021.062021.092021.122022.032022.062022.092022.122023.032023.062023.092023.122024.0340K80K120K160K200K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 25 March 2024.
sqrt11.0%ffs9.6%cos9.6%ffsll40.0%pthread_once11.9%tanh8.6%sin9.3%Benchmark Option PopularityOpenBenchmarking.org

Revision History

pts/glibc-bench-1.8.0   [View Source]   Fri, 17 Mar 2023 13:18:42 GMT
Update against Glibc 2.37 for build fixes on newer distros.

pts/glibc-bench-1.7.2   [View Source]   Sat, 21 May 2022 05:35:27 GMT
Add bison and gaw as external dependencies.

pts/glibc-bench-1.7.1   [View Source]   Sat, 21 May 2022 04:52:37 GMT
Update against glibc 2.35 upstream benchtests, build from source so non-x86_64 support too. Fixes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/632

pts/glibc-bench-1.6.1   [View Source]   Tue, 03 Sep 2019 20:08:13 GMT
Add more test options per https://github.com/phoronix-test-suite/test-profiles/issues/92

pts/glibc-bench-1.6.0   [View Source]   Sat, 01 Dec 2018 09:01:20 GMT
Fix https://github.com/phoronix-test-suite/test-profiles/issues/44

pts/glibc-bench-1.5.1   [View Source]   Mon, 07 May 2018 15:33:25 GMT
Add cos and sin tests https://github.com/phoronix-test-suite/test-profiles/pull/18

pts/glibc-bench-1.5.0   [View Source]   Thu, 29 Jun 2017 11:24:53 GMT
Initial commit.

Suites Using This Test

CPU Massive

Server CPU Tests

Single-Threaded


Performance Metrics

Analyze Test Configuration:

glibc bench 1.0

Benchmark: exp

OpenBenchmarking.org metrics for this test profile configuration based on 741 public results since 31 July 2019 with the latest data as of 23 October 2023.

OpenBenchmarking.orgDistribution Of Public Results - Benchmark: exp741 Results Range From 2 To 132761 nanoseconds226585314797010626132821593818594212502390626562292183187434530371863984242498451544781050466531225577858434610906374666402690587171474370770267968282338849948765090306929629561898274100930103586106242108898111554114210116866119522122178124834127490130146132802140280420560700

Based on OpenBenchmarking.org data, the selected test / test configuration (glibc bench 1.0 - Benchmark: exp) has an average run-time of 2 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkBenchmark: expRun-Time3691215Min: 2 / Avg: 2.15 / Max: 7

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.7%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: expDeviation3691215Min: 0 / Avg: 0.7 / Max: 12

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)

Recent Test Results

OpenBenchmarking.org Results Compare

14 Systems - 103 Benchmark Results

Intel Xeon Gold 6312U - Supermicro X12SPL-F v2.00 - Intel Device 0998

Rocky Linux 8.5 - 4.18.0-348.12.2.el8_5.x86_64 - GCC 8.5.0 20210514

13 Systems - 103 Benchmark Results

Intel Xeon Gold 6238R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

CentOS Linux 8 - 4.18.0-193.19.1.el8_2.x86_64 - GCC 8.3.1 20191121

13 Systems - 103 Benchmark Results

Intel Xeon Gold 6238R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

CentOS Linux 8 - 4.18.0-240.10.1.el8_3.x86_64 - GCC 8.3.1 20191121

13 Systems - 103 Benchmark Results

Intel Xeon Gold 6312U - Supermicro X12SPL-F v2.00 - Intel Device 0998

Rocky Linux 8.6 - 4.18.0-372.9.1.el8.x86_64 - GCC 8.5.0 20210514

Find More Test Results