glibc bench

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.

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

Project Site

gnu.org

Test Created

29 June 2017

Last Updated

3 September 2019

Test Maintainer

Victor Rodriguez

Test Type

Processor

Average Install Time

1 Second

Average Run Time

41 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

60k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsglibc bench Popularity Statisticspts/glibc-bench2017.062017.072017.082017.092017.102017.112017.122018.012018.022018.032018.042018.052018.062018.072018.082018.092018.102018.112018.122019.012019.022019.032019.042019.052019.062019.072019.082019.092019.102019.112019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.0120K40K60K80K100K
* 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.
Data current as of Mon, 25 Jan 2021 13:28:19 GMT.
sqrt17.7%ffs9.9%cos9.5%ffsll12.7%pthread_once20.5%modf6.9%tanh14.2%sin8.7%Benchmark Option PopularityOpenBenchmarking.org

Revision History

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

OpenBenchmarking.org metrics for this test profile configuration based on 1,399 public results since 1 December 2018 with the latest data as of 25 December 2020.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Matching Public Results
nanoseconds (Average)
98th
13
1.39 +/- 0.02
97th
14
1.42 +/- 0.08
95th
9
1.50 +/- 0.11
93rd
4
1.57 +/- 0.01
93rd
3
1.57 +/- 0.01
90th
5
1.62 +/- 0.13
88th
7
1.66 +/- 0.12
86th
4
1.67 +/- 0.01
86th
9
1.68 +/- 0.09
83rd
31
1.70 +/- 0.05
82nd
6
1.72 +/- 0.01
81st
18
1.72 +/- 0.11
80th
6
1.72 +/- 0.01
80th
27
1.72 +/- 0.04
Mid-Tier
75th
> 1.76
74th
3
1.77 +/- 0.07
72nd
6
1.78 +/- 0.05
69th
18
1.81 +/- 0.11
68th
14
1.83 +/- 0.13
67th
25
1.84 +/- 0.11
65th
18
1.85 +/- 0.04
64th
3
1.85 +/- 0.07
64th
6
1.86 +/- 0.01
63rd
10
1.87 +/- 0.12
62nd
6
1.87 +/- 0.04
62nd
21
1.87 +/- 0.11
62nd
8
1.88 +/- 0.14
62nd
20
1.88 +/- 0.07
60th
16
1.93 +/- 0.13
59th
3
1.94 +/- 0.19
57th
5
1.96 +/- 0.03
55th
4
1.97 +/- 0.02
53rd
7
2.00 +/- 0.04
53rd
15
2.00 +/- 0.12
51st
4
2.01 +/- 0.16
51st
14
2.03 +/- 0.14
Median
50th
2.03
50th
13
2.04 +/- 0.14
48th
32
2.07 +/- 0.19
47th
12
2.08 +/- 0.15
47th
14
2.09 +/- 0.11
46th
7
2.10 +/- 0.01
44th
3
2.14 +/- 0.23
44th
4
2.16 +/- 0.05
40th
4
2.21 +/- 0.01
39th
4
2.22 +/- 0.04
39th
14
2.22 +/- 0.14
37th
29
2.25 +/- 0.01
36th
3
2.25 +/- 0.01
34th
6
2.28 +/- 0.16
33rd
12
2.29 +/- 0.18
33rd
10
2.30 +/- 0.13
30th
4
2.32 +/- 0.01
30th
12
2.34 +/- 0.12
29th
33
2.35 +/- 0.14
Low-Tier
25th
> 2.39
24th
14
2.42 +/- 0.02
23rd
20
2.42 +/- 0.09
23rd
23
2.43 +/- 0.07
23rd
4
2.45 +/- 0.15
23rd
4
2.45 +/- 0.06
21st
3
2.49 +/- 0.01
20th
3
2.52 +/- 0.09
19th
13
2.56 +/- 0.17
17th
9
2.62 +/- 0.11
17th
4
2.62 +/- 0.06
15th
4
2.73 +/- 0.17
14th
13
2.81 +/- 0.16
14th
3
2.87 +/- 0.01
12th
17
2.94 +/- 0.13
11th
3
3.07 +/- 0.01
10th
5
3.17 +/- 0.17
9th
8
3.32 +/- 0.18
9th
9
3.36 +/- 0.16
7th
8
3.78 +/- 0.13
5th
10
4.21 +/- 0.24
5th
19
4.24 +/- 0.15
1st
11
19.66 +/- 0.96
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: pthread_once1399 Results Range From 1 To 28 nanoseconds1471013161922252831343730060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (glibc bench 1.0 - Benchmark: pthread_once) 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: pthread_onceRun-Time3691215Min: 1 / Avg: 1.9 / Max: 11

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: pthread_onceDeviation246810Min: 0 / Avg: 0.16 / 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 bench CPU Core ScalingBenchmark: pthread_once248121632640.73551.4712.20652.9423.6775

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 8 Benchmark Results

AMD Ryzen 5 4600H - ASUS FA506IH v1.0 - AMD Renoir Root Complex

ManjaroLinux 20.2 - 5.9.16-1-MANJARO - Xfce 4.14

1 System - 219 Benchmark Results

AMD EPYC 7302P 16-Core - Supermicro H11SSL-i v2.00 - AMD Starship

Ubuntu 20.04 - 5.4.0-42-generic - GNOME Shell 3.36.4

12 Systems - 102 Benchmark Results

Intel Core m3-6Y30 - Google Caroline v1.0 - Intel Xeon E3-1200 v5

VoidLinux rolling - 5.9.13_1 - Sway

1 System - 14 Benchmark Results

2 x Intel Xeon E5-2680 v2 - Supermicro X9DRW v0123456789 - Intel Xeon E7 v2

Peppermint 10 - 5.0.0-37-generic - LXDE

11 Systems - 102 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASUS CROSSHAIR VI HERO - AMD 17h

Gentoo 2.6 - 5.3.11-gentoo - X Server + Wayland

8 Systems - 39 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM v3.0 - Intel 440FX 82441FX PMC

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

7 Systems - 37 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM v3.0 - Intel 440FX 82441FX PMC

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

6 Systems - 34 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM v3.0 - Intel 440FX 82441FX PMC

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

5 Systems - 33 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM v3.0 - Intel 440FX 82441FX PMC

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

10 Systems - 102 Benchmark Results

Intel Core i5-4690K - ASUS Z97-A-USB31 - Intel 4th Gen Core DRAM

ManjaroLinux 18.0.1 - 4.19.12-1-MANJARO - Xfce 4.13

1 System - 112 Benchmark Results

AMD EPYC 7302P 16-Core - Supermicro H12SSW-NT v1.01 - AMD Starship

Red Hat Enterprise Linux 7.9 - 3.10.0-1160.2.2.el7.x86_64 - GNOME Shell 3.28.3

1 System - 178 Benchmark Results

AMD EPYC 7302P 16-Core - Supermicro H12SSW-NT v1.01 - AMD Starship

Red Hat Enterprise Linux 7.9 - 3.10.0-1160.2.2.el7.x86_64 - GNOME Shell 3.28.3

Most Popular Test Results

Find More Test Results

OpenBenchmarking.org Community User Comments

Post A Comment