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

16 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsglibc bench 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.0620K40K60K80K100K
* 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 19 June 2021.
sqrt13.0%ffs7.4%cos7.3%ffsll40.2%pthread_once14.9%tanh10.4%sin6.8%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: cos

OpenBenchmarking.org metrics for this test profile configuration based on 715 public results since 1 December 2018 with the latest data as of 17 June 2021.

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
# Compatible Public Results
nanoseconds (Average)
100th
7
29 +/- 2
93rd
11
38 +/- 1
93rd
3
38 +/- 3
Mid-Tier
75th
> 45
52nd
8
57 +/- 5
Median
50th
58
42nd
3
68 +/- 1
35th
4
30434 +/- 1890
28th
4
36394 +/- 2153
Low-Tier
25th
> 39520
25th
3
39987 +/- 356
20th
6
42152 +/- 306
17th
3
43761 +/- 48
15th
5
44918 +/- 2850
14th
4
46041 +/- 558
11th
4
47679 +/- 289
6th
5
54931 +/- 785
5th
4
64564 +/- 8409
3rd
3
85072 +/- 194
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: cos715 Results Range From 27 To 262244 nanoseconds275272105171576221007262523149736742419874723252477577226296768212734577870283947891929443799682104927110172115417120662125907131152136397141642146887152132157377162622167867173112178357183602188847194092199337204582209827215072220317225562230807236052241297246542251787257032262277100200300400500

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

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: cosDeviation246810Min: 0 / Avg: 0.14 / Max: 2

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: cos4816640.81881.63762.45643.27524.094

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 86 Benchmark Results

Intel Core i7-8650U - Intel NUC7i7DNB - Intel Xeon E3-1200 v6

ManjaroLinux 21.0.6 - 5.12.12-1-MANJARO - Cinnamon 5.0.2

2 Systems - 15 Benchmark Results

2 x Intel Xeon Gold 6330 $ - Intel M50CYP2SBSTD - Intel Device 0998

CentOS Linux 7 - 3.10.0-1160.25.1.el7.x86_64 - GCC 4.8.5 20150623

1 System - 15 Benchmark Results

2 x Intel Xeon Gold 6238R - Wistron SV7220G3 - 2 x 32 GB DDR4-2933MT

CentOS Linux 7 - 3.10.0-1160.31.1.el7.x86_64 - GCC 4.8.5 20150623

3 Systems - 86 Benchmark Results

Intel Core i7-1165G7 - Intel NUC11TNBi7 - Intel Tiger Lake-LP

ManjaroLinux 21.0.6 - 5.12.11-1-MANJARO - Cinnamon 5.0.2

2 Systems - 86 Benchmark Results

AMD Ryzen 9 5900X 12-Core - Intel 440BX - Intel 440BX

Arch rolling - 5.12.10-arch1-1 - X Server 1.20.9

1 System - 86 Benchmark Results

AMD Ryzen 9 5900X 12-Core - Intel 440BX - Intel 440BX

Arch rolling - 5.12.10-arch1-1 - X Server 1.20.9

17 Systems - 90 Benchmark Results

Intel Core i3 - Apple MacBook Pro - Intel 7

macOS 10.14.6 - 18.7.0 - Apple LLVM 10.0.1

1 System - 14 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRockRack X570D4I-2T - AMD Starship

Arch Linux - 5.12.9-arch1-1 - GNOME Shell 40.2

6 Systems - 14 Benchmark Results

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

Solus 4.2 - 5.12.10-182.current - KDE Plasma 5.21.5

1 System - 14 Benchmark Results

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

Solus 4.2 - 5.12.10-182.current - KDE Plasma 5.21.5

3 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-305.3.1.el8.x86_64 - GCC 8.4.1 20200928

2 Systems - 29 Benchmark Results

2 x Intel Xeon Gold 6238R - Wistron SV7220G3 - 2 x 32 GB DDR4-2933MT

CentOS Linux 7 - 3.10.0-1062.el7.x86_64 - GCC 4.8.5 20150623

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 - 29 Benchmark Results

4 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 4.15.0-88-generic - ext4

6 Systems - 45 Benchmark Results

4 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 4.15.0-88-generic - ext4

1 System - 248 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Device 1480

Ubuntu 18.04 - 5.2.0-999-generic - GNOME Shell 3.28.3

5 Systems - 75 Benchmark Results

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

Gentoo - 5.11.9-gentoo - GCC 10.2.0

2 Systems - 403 Benchmark Results

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

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

10 Systems - 45 Benchmark Results

4 x Intel Xeon E312xx (Sandy Bridge) - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 4.15.0-88-generic - ext4

2 Systems - 72 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel Device 3ec2

Debian 9.9 - 4.9.0-9-amd64 - GNOME Shell 3.22.3

Find More Test Results