GNU GMP GMPbench

GMPbench is a test of the GNU Multiple Precision Arithmetic (GMP) Library. GMPbench is a single-threaded integer benchmark that leverages the GMP library to stress the CPU with widening integer multiplication.

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

Project Site

gmplib.org

Test Created

6 December 2010

Last Updated

26 March 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

5 Minutes, 37 Seconds

Average Run Time

5 Minutes, 53 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

200k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsGNU GMP GMPbench Popularity Statisticspts/gmpbench2010.122011.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.042024.098K16K24K32K40K
* 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 16 January 2025.

Revision History

pts/gmpbench-1.3.0   [View Source]   Fri, 26 Mar 2021 16:49:45 GMT
Update against GMP 6.2.1 upstream.

pts/gmpbench-1.2.0   [View Source]   Fri, 13 Oct 2017 13:26:46 GMT
Update against upstream libgmp 6.1.2

pts/gmpbench-1.1.0   [View Source]   Sun, 29 Jan 2012 14:07:37 GMT
Update against upstream GMP 5.0.3 library and gmpbench 0.2.

pts/gmpbench-1.0.1   [View Source]   Mon, 06 Dec 2010 14:48:37 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Single-Threaded


Performance Metrics

Analyze Test Configuration:

GNU GMP GMPbench 6.2.1

Total Time

OpenBenchmarking.org metrics for this test profile configuration based on 800 public results since 26 March 2021 with the latest data as of 11 January 2025.

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
GMPbench Score (Average)
100th
6
7950 +/- 58
99th
4
7117 +/- 29
98th
6
6864 +/- 116
96th
24
6559 +/- 380
95th
3
6459 +/- 17
94th
4
6445 +/- 8
92nd
10
6316 +/- 629
90th
3
6259 +/- 6
90th
3
6257 +/- 7
90th
3
6230 +/- 18
89th
3
6194 +/- 22
88th
23
6167 +/- 168
88th
6
6166 +/- 235
86th
9
6038 +/- 515
86th
3
6018 +/- 12
82nd
4
5877 +/- 79
82nd
3
5866 +/- 17
82nd
4
5833 +/- 10
80th
7
5803 +/- 1
77th
4
5736 +/- 1
77th
3
5736 +/- 9
Mid-Tier
75th
< 5699
75th
4
5681 +/- 51
74th
4
5613 +/- 23
74th
3
5613 +/- 6
71st
3
5402 +/- 2
70th
4
5392 +/- 301
70th
3
5364 +/- 9
69th
4
5313 +/- 1
68th
3
5274 +/- 4
66th
3
5227 +/- 6
65th
4
5193 +/- 12
64th
3
5160 +/- 7
62nd
3
5109 +/- 18
61st
16
5095 +/- 6
60th
3
5092 +/- 2
59th
4
5010 +/- 2
58th
3
4988 +/- 1
57th
6
4941 +/- 12
54th
3
4888 +/- 14
52nd
7
4814 +/- 39
52nd
7
4811 +/- 8
51st
5
4803 +/- 4
Median
50th
4802
47th
3
4764 +/- 5
47th
6
4763 +/- 37
47th
3
4758 +/- 2
46th
3
4727 +/- 3
45th
5
4688 +/- 180
45th
4
4648 +/- 4
42nd
4
4624 +/- 1
41st
3
4579 +/- 51
41st
8
4578 +/- 3
40th
3
4544 +/- 2
39th
4
4511 +/- 3
38th
3
4482 +/- 2
35th
3
4315 +/- 1
32nd
6
4058 +/- 3
31st
6
4015 +/- 5
30th
3
3997 +/- 3
29th
3
3977 +/- 2
28th
3
3914 +/- 21
26th
3
3845 +/- 27
Low-Tier
25th
< 3777
25th
4
3764 +/- 3
24th
4
3733 +/- 1
22nd
3
3652 +/- 6
21st
3
3558 +/- 2
21st
3
3488 +/- 2
18th
3
2799 +/- 26
16th
9
2367 +/- 118
15th
3
2094 +/- 3
13th
4
1903 +/- 5
12th
3
1638 +/- 1
8th
5
1490 +/- 92
5th
14
1026 +/- 118
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Total Time794 Results Range From 182 To 8344 GMPbench Score182346510674838100211661330149416581822198621502314247826422806297031343298346236263790395441184282444646104774493851025266543055945758592260866250641465786742690670707234739875627726789080548218838220406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (GNU GMP GMPbench 6.2.1 - Total Time) has an average run-time of 8 minutes. By default this test profile is set to run at least 1 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 BenchmarkTotal TimeRun-Time3691215Min: 6 / Avg: 7.01 / Max: 10

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 BaseGNU GMP GMPbench CPU Core ScalingTotal Time246812162432640.46880.93761.40641.87522.344

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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E
MIPS 64-bit
mips64
ICT Loongson-3B R2, Loongson-3A R3
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53, ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
AArch64 rev 12, AArch64 rev 14, AArch64 rev 4, ARMv8 Cortex-A57, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A75 8-Core, ARMv8 Cortex-A78E 12-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple M2, Phytium D2000, Phytium FT-2000, Phytium FT2000A 4-Core, Phytium S2500, Rockchip ARMv8 Cortex-A76, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 11 Benchmark Results

AMD Sempron 210U - Inventec R CLASS - AMD RS690 + SB600

Debian 12 - 6.1.0-28-amd64 - LXDE 0.10.1

3 Systems - 11 Benchmark Results

AMD Sempron 210U - Inventec R CLASS - AMD RS690 + SB600

Debian 12 - 6.1.0-28-amd64 - LXDE 0.10.1

1 System - 3 Benchmark Results

Phytium D2000/8 E8C - Byosoft D2000 - 4096MB

Kylin v10 - 5.4.18-110-generic - X Server 1.20.8

3 Systems - 4 Benchmark Results

Intel Pentium M - Dell 0H8384 - Intel Mobile 915GM

Arch rolling - 5.15.90-1.0-lts - Xfce 4.18

1 System - 3 Benchmark Results

Phytium D2000/8 E8C - Byosoft D2000 - 8GB

Kylin v10 - 5.4.18-85-generic - X Server 1.20.8

2 Systems - 4 Benchmark Results

Intel Pentium M - Dell 0H8384 - Intel Mobile 915GM

Arch rolling - 5.15.90-1.0-lts - Xfce 4.18

Find More Test Results