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

24 Seconds

Average Run Time

2 Minutes

Test Dependencies

C/C++ Compiler Toolchain

Accolades

250k+ Downloads + 5k+ Public Benchmark Results

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.042024.0915K30K45K60K75K
* 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 2 October 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.10.3

OpenBenchmarking.org metrics for this test profile configuration based on 307 public results since 7 June 2024 with the latest data as of 4 October 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)
Mid-Tier
75th
> 158
58th
11
169 +/- 1
Median
50th
175
46th
5
178 +/- 4
43rd
4
179 +/- 9
43rd
9
179 +/- 1
31st
3
187 +/- 1
27th
4
198 +/- 1
Low-Tier
25th
> 198
18th
5
208 +/- 1
1st
4
314 +/- 7
OpenBenchmarking.orgDistribution Of Public Results307 Results Range From 135 To 325 Seconds1351491631771912052192332472612752893033173311530456075

Based on OpenBenchmarking.org data, the selected test / test configuration (Gcrypt Library 1.10.3) has an average run-time of 9 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-Time48121620Min: 7 / Avg: 9.16 / Max: 16

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 RunsDeviation246810Min: 0 / Avg: 0.09 / 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.

OpenBenchmarking.orgRelative Core Scaling To BaseGcrypt Library CPU Core Scaling68121632640.49010.98021.47031.96042.4505

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: 23 August 2024

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)
ARMv8 64-bit
aarch64
AmpereOne 192-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1043 Benchmark Results

1 System - 90 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

Arch rolling - 6.10.6-arch1-1 - KDE Plasma 6.1.4

1 System - 90 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASRock X670E PG Lightning - AMD Device 14d8

Arch rolling - 6.10.6-arch1-1 - KDE Plasma 6.1.4

3 Systems - 106 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

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

1 System - 9 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 7 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 5 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 5 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 4 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 4 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 4 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 4 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

1 System - 4 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B450 GAMING PLUS MAX - AMD Starship

ManjaroLinux 24.0.7 - 6.10.5-1-MANJARO - KDE Plasma 6.0.5

2 Systems - 91 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

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

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

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

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

18 Systems - 442 Benchmark Results

AMD Ryzen 5 8600G - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14e8

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

3 Systems - 26 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

5 Systems - 84 Benchmark Results

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

DragonFly - 6.4-RELEASE - GCC 8.3

2 Systems - 1012 Benchmark Results

2 Systems - 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 - 111 Benchmark Results

2 x AMD EPYC 9734 112-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 29 Benchmark Results

Intel Core i7-1185G7 - Dell XPS 13 9310 0DXP1F - Intel Tiger Lake-LP

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

73 Systems - 527 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CW - Intel Xeon E7 v4

Arch Linux - 6.9.7-arch1-1 - GCC 14.1.1 20240522

2 Systems - 114 Benchmark Results

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

FreeBSD - 14.1-RELEASE - Clang 18.1.5

2 Systems - 29 Benchmark Results

Intel Core i7-1185G7 - Dell XPS 13 9310 0DXP1F - Intel Tiger Lake-LP

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

2 Systems - 50 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

Fedora Linux 39 - 6.5.8-300.fc39.x86_64 - GNOME Shell 45.0

4 Systems - 92 Benchmark Results

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

FreeBSD - 14.1-RELEASE - Clang 18.1.5

17 Systems - 40 Benchmark Results

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

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

Find More Test Results