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

21 May 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 8 Seconds

Average Run Time

16 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Bison

Accolades

70k+ 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.082017.102017.122018.022018.042018.062018.082018.102018.122019.022019.042019.062019.082019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.0630K60K90K120K150K
* 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 current as of 2 July 2022.
sqrt13.2%ffs8.5%cos8.5%ffsll35.7%pthread_once14.8%tanh11.0%sin8.2%Benchmark Option PopularityOpenBenchmarking.org

Revision History

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: ffsll

OpenBenchmarking.org metrics for this test profile configuration based on 4,243 public results since 1 December 2018 with the latest data as of 2 June 2022.

OpenBenchmarking.orgDistribution Of Public Results - Benchmark: ffsll4243 Results Range From 0 To 33 nanoseconds03691215182124273033365001000150020002500

Based on OpenBenchmarking.org data, the selected test / test configuration (glibc bench 1.0 - Benchmark: ffsll) 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: ffsllRun-Time246810Min: 1 / Avg: 1.18 / Max: 3

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: ffsllDeviation246810Min: 0 / Avg: 0.65 / Max: 6

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseGlibc Benchmarks CPU Core ScalingBenchmark: ffsll468161832640.43130.86261.29391.72522.1565

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

4 Systems - 157 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 20.04 - 5.12.0-051200rc2daily20210307-generic - GNOME Shell 3.36.4

4 Systems - 166 Benchmark Results

Intel Core i7-10700T - Logic Supply RXM-181 - Intel Comet Lake PCH

Ubuntu 22.04 - 5.15.0-27-generic - GNOME Shell 42.2

2 Systems - 120 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD 17h

Ubuntu 20.10 - 5.8.0-63-generic - GNOME Shell 3.38.1

3 Systems - 143 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc6daily20200923-generic - GNOME Shell 3.36.4

3 Systems - 200 Benchmark Results

Intel Xeon E3-1275 v6 - ASUS P10S-M WS - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.9.0-050900rc8daily20201007-generic - X Server 1.20.8

3 Systems - 144 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 20.04 - 5.11.0-43-generic - GNOME Shell 3.36.4

2 Systems - 144 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-63-generic - GNOME Shell 3.38.1

3 Systems - 191 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

3 Systems - 191 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

4 Systems - 183 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

1 System - 14 Benchmark Results

2 x AMD EPYC-Milan - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-121-generic - 1.1.182

1 System - 14 Benchmark Results

2 x AMD EPYC-Milan - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-121-generic - 1.1.182

1 System - 14 Benchmark Results

2 x AMD EPYC-Milan - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-120-generic - 1.1.182

1 System - 14 Benchmark Results

2 x AMD EPYC-Milan - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-120-generic - 1.1.182

4 Systems - 117 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.18.0-051800rc2daily20220411-generic - GNOME Shell 42.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 268 Benchmark Results

Intel Core i5-2520M - HP 161C - Intel 2nd Generation Core DRAM

Ubuntu 18.04 - 4.18.0-20-generic - GNOME Shell 3.28.3

2 Systems - 14 Benchmark Results

AMD Ryzen 7 3700X 8-Core - MSI B450M MORTAR MAX - AMD Starship

Solus 4.1 - 5.5.4-148.current - Budgie

3 Systems - 174 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Fedora 33 - 5.8.11-300.fc33.x86_64 - GNOME Shell 3.38.0

5 Systems - 75 Benchmark Results

AMD Ryzen 5 PRO 4650G - ASUS TUF X470-PLUS GAMING - AMD Renoir Root Complex

Gentoo - 5.11.7-gentoo-r1 - GCC 10.2.0

8 Systems - 360 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Ubuntu 19.10 - 5.4.0-999-generic - GNOME Shell 3.34.1

6 Systems - 57 Benchmark Results

Intel Core i7-8086K - ASUS PRIME Z370-A - Intel 8th Gen Core

Ubuntu 18.10 - 5.0.0-999-generic - GNOME Shell 3.30.1

2 Systems - 403 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 20.10 - 5.8.0-22-generic - GNOME Shell 3.38.0

2 Systems - 72 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Debian 10 - 4.19.0-5-amd64 - GNOME Shell 3.30.2

4 Systems - 179 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4

4 Systems - 83 Benchmark Results

Intel Xeon E5-1680 v3 - ASUS X99-A - Intel Xeon E7 v3

Ubuntu 18.04 - 4.18.0-20-generic - GNOME Shell 3.28.3

3 Systems - 406 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 20.10 - 5.8.0-20-generic - GNOME Shell 3.38.0

Find More Test Results