Gcrypt Library

Libgcrypt is a general purpose cryptographic library developed as part of the GnuPG project. This is a benchmark of libgcrypt's integrated benchmark and is measuring the time to run the benchmark command with a cipher/mac/hash repetition count set for 50 times as simple, high level look at the overall crypto performance of the system under test.

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

Project Site

gnupg.org

Source Repository

github.com

Test Created

6 December 2010

Last Updated

7 June 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

22 Seconds

Average Run Time

2 Minutes

Test Dependencies

C/C++ Compiler Toolchain

Accolades

250k+ Downloads + 5k+ Public Benchmark Results + Recently Updated Test Profile

Supported Platforms


Reported Test Completions **Reported Installs **Public Result Uploads *Test Profile Page Views ***OpenBenchmarking.orgEventsGcrypt Library Popularity Statisticspts/gcrypt2010.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.0420K40K60K80K100K
* 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 8 June 2024.

Revision History

pts/gcrypt-1.2.0   [View Source]   Fri, 07 Jun 2024 20:25:07 GMT
Update against latest gcrypt 1.10.3 upstream release. Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/786

pts/gcrypt-1.1.3   [View Source]   Mon, 06 Dec 2021 19:43:25 GMT
Fix install-exit-status handling.

pts/gcrypt-1.1.2   [View Source]   Mon, 01 Feb 2021 16:37:37 GMT
Update against libgcrypt 1.9.1 for recent security release from GnuPG project.

pts/gcrypt-1.1.1   [View Source]   Thu, 21 Jan 2021 15:04:57 GMT
Un-deprecate the test profile with the latest release seeming to be working out well now across a range of systems.

pts/gcrypt-1.1.0   [View Source]   Wed, 20 Jan 2021 17:13:20 GMT
Update against latest upstream.

pts/gcrypt-1.0.5   [View Source]   Fri, 29 Jun 2018 12:04:16 GMT
Add install-exit-status support.

pts/gcrypt-1.0.4   [View Source]   Sat, 07 Apr 2018 20:10:05 GMT
Deprecate this test profile since its old, rarely used, and not building nicely on modern systems.

pts/gcrypt-1.0.3   [View Source]   Sun, 10 Aug 2014 12:12:32 GMT
Updated download links plus build fix for Debian on ARM by Michael Schloh.

pts/gcrypt-1.0.2   [View Source]   Thu, 23 Jan 2014 00:18:30 GMT
Fix for gcrypt building on some systems due to gpg error libs. Patch provided by Ed Swarthout.

pts/gcrypt-1.0.1   [View Source]   Mon, 28 Jan 2013 23:10:48 GMT
Gcrypt works on BSD.

pts/gcrypt-1.0.0   [View Source]   Mon, 06 Dec 2010 14:48:13 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Cryptography


Performance Metrics

Analyze Test Configuration:

Gcrypt Library 1.9

OpenBenchmarking.org metrics for this test profile configuration based on 3,957 public results since 20 January 2021 with the latest data as of 16 May 2024.

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
Seconds (Average)
100th
11
151 +/- 1
99th
5
163 +/- 10
99th
5
173 +/- 3
98th
9
175 +/- 1
98th
4
176 +/- 1
97th
3
181 +/- 1
97th
11
183 +/- 2
97th
4
183 +/- 15
97th
7
185 +/- 7
96th
19
186 +/- 21
96th
18
191 +/- 3
95th
9
198 +/- 3
94th
6
199 +/- 1
92nd
3
209 +/- 1
92nd
4
210 +/- 12
92nd
5
212 +/- 1
92nd
3
212 +/- 1
91st
6
216 +/- 1
91st
8
217 +/- 3
91st
18
217 +/- 2
90th
15
218 +/- 1
90th
6
218 +/- 2
90th
7
220 +/- 2
90th
4
221 +/- 2
90th
4
221 +/- 32
90th
4
222 +/- 1
89th
9
227 +/- 1
88th
4
228 +/- 2
88th
7
228 +/- 1
88th
8
228 +/- 2
87th
4
231 +/- 1
87th
7
232 +/- 1
87th
4
233 +/- 2
86th
3
234 +/- 1
86th
6
234 +/- 3
86th
14
234 +/- 3
86th
3
234 +/- 1
86th
3
234 +/- 1
86th
11
235 +/- 1
86th
5
238 +/- 4
85th
4
242 +/- 3
84th
9
249 +/- 2
84th
7
250 +/- 1
84th
6
250 +/- 1
84th
10
251 +/- 1
83rd
9
252 +/- 1
83rd
5
257 +/- 3
83rd
3
258 +/- 1
83rd
6
259 +/- 2
83rd
6
259 +/- 1
79th
6
267 +/- 4
79th
4
267 +/- 10
Mid-Tier
75th
> 269
67th
4
281 +/- 1
66th
3
288 +/- 2
66th
11
300 +/- 1
65th
3
303 +/- 1
64th
3
312 +/- 1
Median
50th
358
14th
6
485 +/- 1
Low-Tier
25th
> 400
OpenBenchmarking.orgDistribution Of Public Results3957 Results Range From 137 To 3792 Seconds13721128535943350758165572980387795110251099117312471321139514691543161716911765183919131987206121352209228323572431250525792653272728012875294930233097317132453319339334673541361536893763383730060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (Gcrypt Library 1.9) has an average run-time of 18 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 BenchmarkRun-Time918273645Min: 7 / Avg: 17.68 / Max: 43

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 RunsDeviation246810Min: 0 / Avg: 0.19 / Max: 3

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 BaseGcrypt Library CPU Core Scaling24681216202432640.46250.9251.38751.852.3125

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
CVTSI2SD DIVSD MULSD MOVDQA MOVDQU
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VINSERTF128 VZEROUPPER VEXTRACTF128
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTB VPERMQ VINSERTI128 VEXTRACTI128 VPBROADCASTD VPBROADCASTW VPBROADCASTQ
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 17 January 2022

This test profile binary relies on the shared libraries libgcrypt.so.20, libgpg-error.so.0, libc.so.6.

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 Z
s390x
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7
ARMv8 64-bit
aarch64
ARMv8 4-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple, Apple M2, HiSilicon, Intel Core i7-9750H, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 107 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major thelio-major-r5 - AMD [AMD]

FreeBSD - 14.0-RELEASE - Clang 16.0.6

3 Systems - 1 Benchmark Result

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 22.04 - 6.5.0-35-generic - GNOME Shell 42.9

3 Systems - 1 Benchmark Result

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-060800-generic - GNOME Shell 46.0

1 System - 37 Benchmark Results

AMD Ryzen 9 7900X3D 12-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

3 Systems - 3 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

3 Systems - 3 Benchmark Results

AMD Ryzen 7 7840U - Framework Laptop 13 - AMD Device 14e8

Ubuntu 22.04 - 6.5.0-35-generic - GNOME Shell 42.9

1 System - 33 Benchmark Results

HiSilicon - Kunlun HisiPangu TU140HCR110 - 1 x 16384 MB LPDDR4-3726MT

Kylin v10 - 5.4.18-hw15-pangu - X Server

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X3D 8-Core - MSI B450 GAMING PRO CARBON AC - AMD Starship

NobaraLinux 39 - 6.8.7-201.fsync.fc39.x86_64 - KDE Plasma 6.0.4

1 System - 84 Benchmark Results

Intel Core i9-12900H - Shenzhen Meigao Electronic Equipment AHWSA - Intel Alder Lake PCH

Debian 12 - 6.1.0-20-amd64 - X Server

1 System - 84 Benchmark Results

Intel Pentium Gold 8505 - (5.27 BIOS) - Intel Alder Lake PCH

Debian 12 - 6.1.0-20-amd64 - X Server

2 Systems - 21 Benchmark Results

AMD Phenom II X4 945 - Gigabyte GA-MA78GM-S2H - 6144MB

Calculate Linux Desktop 11.15 GNOME - 3.3.3-calculate - GNOME Shell 3.2.2.1

2 Systems - 21 Benchmark Results

AMD Phenom II X4 945 - Gigabyte GA-MA78GM-S2H - 6144MB

Calculate Linux Desktop 11.15 GNOME - 3.3.3-calculate - GNOME Shell 3.2.2.1

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 34 Benchmark Results

Intel Xeon E3-1235L v5 - ASRockRack C236M WS - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 5.8.0-050800-generic - GNOME Shell 3.36.4

4 Systems - 13 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - System76 Thelio Major - AMD Starship

Pop 20.10 - 5.8.0-7630-generic - GNOME Shell 3.38.2

3 Systems - 13 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 13 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 10 - 4.19.0-13-amd64 - X Server 1.20.4

3 Systems - 10 Benchmark Results

Intel Core i9-10885H - HP 8736 - Intel Comet Lake PCH

Ubuntu 20.04 - 5.6.0-1042-oem - GNOME Shell 3.36.4

4 Systems - 30 Benchmark Results

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

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

3 Systems - 376 Benchmark Results

2 x AMD EPYC 7F72 24-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

3 Systems - 17 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Device 34ef

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

3 Systems - 6 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 108 Benchmark Results

Intel Core i7-3770K - ECS Z77H2-A2X v1.0 - Intel Xeon E3-1200 v2

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

3 Systems - 58 Benchmark Results

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

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

3 Systems - 85 Benchmark Results

Intel Core i9-9900K - ASRock Z390M Pro4 - Intel Cannon Lake PCH

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

3 Systems - 19 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

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

4 Systems - 179 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRock X570 Taichi - AMD Starship

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

5 Systems - 89 Benchmark Results

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

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

Find More Test Results